Commit 820ea270 authored by Michael Iseard's avatar Michael Iseard
Browse files

Remove reference to object-cache.php and remove unnecessary redis port

parent ba4907f3
......@@ -25,7 +25,6 @@ NGINX_VERSION=latest
# redis
REDIS_PASSWORD=changeme
REDIS_PORT=6379
# volumes on host
NGINX_CONF_DIR=./nginx
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment