Change log directory location

This commit is contained in:
Patrick Jentsch
2019-09-11 16:27:54 +02:00
parent 50b21d056d
commit 3d93b033a2
3 changed files with 4 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ services:
- /mnt/opaque:/mnt/opaque
- ./app:/home/opaque/app
- ./config.py:/home/opaque/config.py
- ./logs/opaque.log:/home/opaque/logs/opaque_flask.log
- ./migrations:/home/opaque/migrations
- ./opaque.py:/home/opaque/opaque.py
daemon:
@@ -31,8 +32,8 @@ services:
env_file: db.env
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
volumes:
- ./logs/opaque_daemon.log:/home/opaque_daemon/logs/opaque_daemon.log
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
- ./app/logs/opaque_daemon.log:/home/opaque_daemon/logs/opaque_daemon.log
db:
deploy:
placement: