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
|
env_file: db.env
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
volumes:
|
volumes:
|
||||||
- /opaque_database:/var/lib/postgresql/data
|
- db:/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:
|
||||||
|
Loading…
Reference in New Issue
Block a user