From 58b42822dc3cf890571253210e4fd3a133e0063a Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Tue, 26 Nov 2019 14:58:41 +0100
Subject: [PATCH] fix stack deploy yml
---
docker_stack_deploy.yml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/docker_stack_deploy.yml b/docker_stack_deploy.yml
index 2fc82642..62dc689d 100644
--- a/docker_stack_deploy.yml
+++ b/docker_stack_deploy.yml
@@ -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: