mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-25 15:30:34 +00:00
Use named volume for database
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user