mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Add storage as volume
This commit is contained in:
parent
3913663c56
commit
1118beaf61
@ -16,7 +16,7 @@ services:
|
||||
ports:
|
||||
- 5000:5000
|
||||
volumes:
|
||||
- /mnt/opaque:/mnt/opaque
|
||||
- storage:/mnt/opaque
|
||||
- ./app:/home/opaque/app
|
||||
- ./config.py:/home/opaque/config.py
|
||||
- ./logs:/home/opaque/logs
|
||||
@ -45,10 +45,19 @@ services:
|
||||
env_file: db.env
|
||||
image: postgres:alpine
|
||||
volumes:
|
||||
- /opaque_database:/var/lib/postgresql/data
|
||||
- /srv/opaque/database:/var/lib/postgresql/data
|
||||
redis:
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
image: redis:alpine
|
||||
|
||||
|
||||
volumes:
|
||||
storage:
|
||||
driver: local
|
||||
driver_opts:
|
||||
device: "//127.0.0.1/opaque_storage"
|
||||
o: "gid=1000,password=opaque,uid=1000,username=opaque"
|
||||
type: cifs
|
||||
|
Loading…
Reference in New Issue
Block a user