From 295ed497993c5d5d8ea70d7f6cdb848529f4a5d4 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 9 Sep 2019 14:58:49 +0200 Subject: [PATCH] Don't use named volumes. --- docker-compose.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 43e4bae7..76b1d728 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: