diff --git a/docker-compose.yml b/docker-compose.yml index 0962ecea..dc4d7f86 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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