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 env_file: db.env
image: postgres:alpine image: postgres:alpine
volumes: volumes:
- db:/var/lib/postgresql/data - /opaque_database:/var/lib/postgresql/data
redis: redis:
deploy: deploy:
placement: placement:
constraints: constraints:
- node.role == manager - node.role == manager
image: redis:alpine image: redis:alpine
volumes:
db: