Don't use named volumes.

This commit is contained in:
Patrick Jentsch 2019-09-09 14:58:49 +02:00
parent dc975935ca
commit 295ed49799

View File

@ -40,13 +40,10 @@ services:
env_file: db.env
image: postgres:alpine
volumes:
- db:/var/lib/postgresql/data
- /opaque_database:/var/lib/postgresql/data
redis:
deploy:
placement:
constraints:
- node.role == manager
image: redis:alpine
volumes:
db: