Add redis
This commit is contained in:
parent
fe6d349749
commit
3337cbb530
@ -1,3 +1,6 @@
|
|||||||
|
volumes:
|
||||||
|
redis:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
@ -25,3 +28,9 @@ services:
|
|||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
volumes:
|
volumes:
|
||||||
- "${DATA:?}:/var/www/html"
|
- "${DATA:?}:/var/www/html"
|
||||||
|
redis:
|
||||||
|
image: "redis:${REDIS_VERSION:-latest}"
|
||||||
|
container_name: "${NAME:-nextcloud}-redis"
|
||||||
|
command: redis-server --requirepass ${REDIS_PASSWORD:?}
|
||||||
|
volumes:
|
||||||
|
- redis:/data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user