Disbale Redis

This commit is contained in:
2024-03-19 15:13:01 +07:00
parent cfba76a301
commit 47b616df4c
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
## Caddy ##
SERVER_NAME = example.com
SERVER_NAME = 10h30.net
## Wordpress ##
WORDPRESS_DB_USER=siteuser
+4 -4
View File
@@ -20,7 +20,7 @@ services:
restart: always
depends_on:
- db
- redis
#- redis
volumes:
- ./wordpress/html:/var/www/html
- ./wordpress/custom.ini:/usr/local/etc/php/conf.d/custom.ini
@@ -44,9 +44,9 @@ services:
volumes:
- ./wordpress/html:/var/www/html
redis:
image: redis:6.2.14
restart: always
#redis:
# image: redis:6.2.14
# restart: always
#elastic:
# image: elasticsearch:7.17.13
+1 -1
View File
@@ -25,7 +25,7 @@ echo "== Install Plugins =="
docker compose run wpcli plugin install ${WORDPRESS_PLUGINS_TO_INSTALL} --activate
## Enable Redis Cache Object
docker compose run wpcli redis enable
#docker compose run wpcli redis enable
## Enable and config Cache Enabler
docker compose run wpcli option update cache_enabler '{