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

@@ -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: