Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
0ce45b16
Commit
0ce45b16
authored
Oct 16, 2018
by
Simonas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wp-config added
parent
2965a6f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
113 additions
and
0 deletions
+113
-0
docker-compose.yml
docker-compose.yml
+3
-0
wp-config.php
docker/wordpress/wp-config.php
+110
-0
No files found.
docker-compose.yml
View file @
0ce45b16
...
...
@@ -35,6 +35,9 @@ services:
container_name
:
wordpress
volumes
:
-
./wordpress:/var/www/html
-
./docker/wordpress/wp-config.php:/var/www/html/wp-config.php
# - ./wp-content:/var/www/html/wp-content
environment
:
-
WORDPRESS_DB_NAME=wordpress
-
WORDPRESS_TABLE_PREFIX=wp_
...
...
docker/wordpress/wp-config.php
0 → 100644
View file @
0ce45b16
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define
(
'DB_NAME'
,
'wordpress'
);
/** MySQL database username */
define
(
'DB_USER'
,
'root'
);
/** MySQL database password */
define
(
'DB_PASSWORD'
,
'IiIjnsLi2wR9i1kWVbVpUAzP'
);
/** MySQL hostname */
define
(
'DB_HOST'
,
'mysql'
);
/** Database Charset to use in creating database tables. */
define
(
'DB_CHARSET'
,
'utf8'
);
/** The Database Collate type. Don't change this if in doubt. */
define
(
'DB_COLLATE'
,
''
);
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define
(
'AUTH_KEY'
,
'e57c77f7dabd4993390a16553a12719d36ff2f3d'
);
define
(
'SECURE_AUTH_KEY'
,
'25550eb24852f41802a907b32db77b2d03d48dcc'
);
define
(
'LOGGED_IN_KEY'
,
'4b4dec4b70b088530353382b2beddbf002b7a9c7'
);
define
(
'NONCE_KEY'
,
'57c1406be9a8aa8359ccb3e4695a95d3b7f708de'
);
define
(
'AUTH_SALT'
,
'a28cb3d2b2a873fb32f6f551a724cbece95c612a'
);
define
(
'SECURE_AUTH_SALT'
,
'2bec8f6ef887284990e8236e629f5a2449e24d7c'
);
define
(
'LOGGED_IN_SALT'
,
'1e0a72754488fa00d47437396e74c6adba151336'
);
define
(
'NONCE_SALT'
,
'fd5a6329d1cb85464e3a6e2aa65a4b374390f925'
);
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix
=
'wp_'
;
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define
(
'WP_DEBUG'
,
true
);
/* Multisite */
define
(
'WP_ALLOW_MULTISITE'
,
true
);
define
(
'MULTISITE'
,
true
);
define
(
'SUBDOMAIN_INSTALL'
,
true
);
define
(
'DOMAIN_CURRENT_SITE'
,
'dev.biuro.lt'
);
define
(
'PATH_CURRENT_SITE'
,
'/'
);
define
(
'SITE_ID_CURRENT_SITE'
,
1
);
define
(
'BLOG_ID_CURRENT_SITE'
,
1
);
define
(
'COOKIE_DOMAIN'
,
''
);
define
(
'ADMIN_COOKIE_PATH'
,
'/'
);
define
(
'COOKIEPATH'
,
'/'
);
define
(
'SITECOOKIEPATH'
,
'/'
);
// If we're behind a proxy server and using HTTPS, we need to alert Wordpress of that fact
// see also http://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy
if
(
isset
(
$_SERVER
[
'HTTP_X_FORWARDED_PROTO'
])
&&
$_SERVER
[
'HTTP_X_FORWARDED_PROTO'
]
===
'https'
)
{
$_SERVER
[
'HTTPS'
]
=
'on'
;
}
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if
(
!
defined
(
'ABSPATH'
)
)
define
(
'ABSPATH'
,
dirname
(
__FILE__
)
.
'/'
);
/** Sets up WordPress vars and included files. */
require_once
(
ABSPATH
.
'wp-settings.php'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment