Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Wordpress Docker
Commits
820ea270
Commit
820ea270
authored
Sep 09, 2020
by
Michael Iseard
Browse files
Remove reference to object-cache.php and remove unnecessary redis port
parent
ba4907f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
.env.example
View file @
820ea270
...
...
@@ -25,7 +25,6 @@ NGINX_VERSION=latest
# redis
REDIS_PASSWORD=changeme
REDIS_PORT=6379
# volumes on host
NGINX_CONF_DIR=./nginx
...
...
docker-compose.yml
View file @
820ea270
...
...
@@ -52,7 +52,6 @@ services:
-
db
volumes
:
-
${WORDPRESS_DIR:-./wordpress}:/var/www/html/
-
./object-cache.php:/var/www/html/wp-content/object-cache.php
-
${PHP_UPLOADS:-./php/uploads.ini}:/usr/local/etc/php/conf.d/uploads.ini
environment
:
WORDPRESS_DB_NAME
:
${MYSQL_DATABASE:-wordpress}
...
...
@@ -65,7 +64,7 @@ services:
$$redis_server = array(
'host' => 'redis',
'port' => 6379,
'auth' => '
2ihJHjk45ff
',
'auth' => '
${REDIS_PASSWORD}
',
'database' => 0, // Optionally use a specific numeric Redis database. Default is 0.
);
...
...
@@ -112,5 +111,3 @@ services:
container_name
:
${CONTAINER_PREFIX}-redis
command
:
redis-server --requirepass ${REDIS_PASSWORD}
restart
:
always
ports
:
-
${REDIS_PORT:-6379}:6379
Write
Preview
Supports
Markdown
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