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