Add Redis caching

This commit is contained in:
3wc 2021-08-26 10:54:30 +02:00
parent c532f14952
commit 3803cf40eb

View File

@ -19,6 +19,7 @@ services:
- NEXTCLOUD_TRUSTED_DOMAINS=${DOMAIN}
- APACHE_DISABLE_REWRITE_IP=1
- TRUSTED_PROXIES=traefik
- REDIS_HOST=cache
- SMTP_HOST
- MAIL_FROM_ADDRESS
- MAIL_DOMAIN
@ -88,6 +89,10 @@ services:
entrypoint: /cron.sh
deploy:
labels: ["coop-cloud.${STACK_NAME}.cron.version=21.0.3-87bd33d3"]
cache:
image: redis:6.2.5-alpine
networks:
- internal
secrets:
db_root_password:
external: true