1
0
Fork 0

add redis network

This commit is contained in:
Lukáš Kucharczyk 2023-03-14 14:34:34 +01:00
parent be9795a4b7
commit 99fd9d88d9
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 6 additions and 0 deletions

View File

@ -505,6 +505,8 @@ services:
redis: redis:
container_name: redis container_name: redis
image: docker.io/library/redis:7 image: docker.io/library/redis:7
networks:
- redis
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/redis:/data" - "${DOCKER_STORAGE_PATH}/redis:/data"
@ -521,6 +523,7 @@ services:
- "${PAPERLESS_EXTERNAL_PORT}:${PAPERLESS_INTERNAL_PORT}" - "${PAPERLESS_EXTERNAL_PORT}:${PAPERLESS_INTERNAL_PORT}"
networks: networks:
- public - public
- redis
profiles: profiles:
- base - base
healthcheck: healthcheck:
@ -573,6 +576,9 @@ networks:
caddy: caddy:
attachable: true attachable: true
internal: true internal: true
redis:
attachable: true
internal: true
public: public:
attachable: true attachable: true
postgres: postgres: