Skip to content
Snippets Groups Projects
Commit dc975935 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Use named volume for database

parent 50a31967
Branches
Tags
No related merge requests found
......@@ -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:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment