Add notification service

This commit is contained in:
Stephan Porada 2020-05-11 16:09:18 +02:00
parent 07c104196f
commit 2b9d098857

View File

@ -54,6 +54,21 @@ services:
- "../opaque_daemon/nopaqued.py:/home/nopaqued/nopaqued.py"
- "../opaque_daemon/requirements.txt:/home/nopaqued/requirements.txt"
- "$HOME/.docker:/home/nopaqued/.docker"
notify:
depends_on:
- db
env_file: nopaque.env
extra_hosts:
- "host.docker.internal:172.17.0.1"
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_notify:latest
volumes:
- "./logs:/home/nopaquen/logs"
- "../opaque_notify/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh"
- "../opaque_notify/nopaquen.py:/home/nopaquen/nopaquen.py"
- "../opaque_notify/notify:/home/nopaquen/notify"
- "../opaque_notify/templates:/home/nopaquen/templates"
- "../opaque_notify/requirements.txt:/home/nopaquen/requirements.txt"
- "$HOME/.docker:/home/nopaquen/.docker"
db:
env_file: nopaque.env
image: postgres:11