diff --git a/docker-compose.yml b/docker-compose.yml index 76b1d728..43e4bae7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,10 +40,13 @@ services: env_file: db.env image: postgres:alpine volumes: - - /opaque_database:/var/lib/postgresql/data + - db:/var/lib/postgresql/data redis: deploy: placement: constraints: - node.role == manager image: redis:alpine + +volumes: + db: