mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Use named volume for database
This commit is contained in:
parent
50a31967f2
commit
dc975935ca
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user