Add redis

This commit is contained in:
Kris Lamoureux 2025-03-01 13:04:25 -05:00
parent fe6d349749
commit 3337cbb530
Signed by: kris
GPG Key ID: 105B748C1362EB96

View File

@ -1,3 +1,6 @@
volumes:
redis:
networks:
traefik:
external: true
@ -25,3 +28,9 @@ services:
- "host.docker.internal:host-gateway"
volumes:
- "${DATA:?}:/var/www/html"
redis:
image: "redis:${REDIS_VERSION:-latest}"
container_name: "${NAME:-nextcloud}-redis"
command: redis-server --requirepass ${REDIS_PASSWORD:?}
volumes:
- redis:/data