Merge pull request #132 from paperless-ngx/named-volumes

Use a named volume for broker
This commit is contained in:
Quinn Casey 2022-02-22 12:41:23 -08:00 committed by GitHub
commit 84e7e74d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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