Use a named volume for broker

This commit is contained in:
Quinn Casey 2022-02-22 10:01:09 -08:00
parent 2f7c351039
commit bad4be4cbc
5 changed files with 15 additions and 5 deletions

View File

@ -33,7 +33,8 @@ services:
broker:
image: redis:6.0
restart: unless-stopped
volumes:
- redisdata:/data
db:
image: postgres:13
restart: unless-stopped
@ -92,3 +93,4 @@ volumes:
data:
media:
pgdata:
redisdata:

View File

@ -35,7 +35,8 @@ services:
broker:
image: redis:6.0
restart: unless-stopped
volumes:
- redisdata:/data
db:
image: postgres:13
restart: unless-stopped
@ -88,3 +89,4 @@ volumes:
data:
media:
pgdata:
redisdata:

View File

@ -31,7 +31,8 @@ services:
broker:
image: redis:6.0
restart: unless-stopped
volumes:
- redisdata:/data
db:
image: postgres:13
restart: unless-stopped
@ -70,3 +71,4 @@ volumes:
data:
media:
pgdata:
redisdata:

View File

@ -36,7 +36,8 @@ services:
broker:
image: redis:6.0
restart: unless-stopped
volumes:
- redisdata:/data
webserver:
image: jonaswinkler/paperless-ng:latest
restart: unless-stopped
@ -76,3 +77,4 @@ services:
volumes:
data:
media:
redisdata:

View File

@ -28,7 +28,8 @@ services:
broker:
image: redis:6.0
restart: unless-stopped
volumes:
- redisdata:/data
webserver:
image: jonaswinkler/paperless-ng:latest
restart: unless-stopped
@ -54,3 +55,4 @@ services:
volumes:
data:
media:
redisdata: