fix stack deploy yml

This commit is contained in:
Patrick Jentsch 2019-11-26 14:58:41 +01:00
parent 5336eac2c9
commit 58b42822dc

View File

@ -2,9 +2,6 @@ version: '3'
services: services:
web: web:
depends_on:
- db
- redis
deploy: deploy:
placement: placement:
constraints: constraints:
@ -17,9 +14,8 @@ services:
- 5000:5000 - 5000:5000
volumes: volumes:
- storage:/mnt/opaque - storage:/mnt/opaque
- ./logs:/home/opaque/logs
daemon: daemon:
depends_on:
- db
deploy: deploy:
placement: placement:
constraints: constraints:
@ -30,6 +26,7 @@ services:
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
volumes: volumes:
- storage:/mnt/opaque - storage:/mnt/opaque
- ./logs:/home/opaque_daemon/logs
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json - $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
db: db:
deploy: deploy: