nopaque/docker-compose.yml

46 lines
1.4 KiB
YAML
Raw Normal View History

2019-09-06 09:38:35 +00:00
version: '3'
services:
2019-09-06 11:42:47 +00:00
web:
2019-09-06 09:38:35 +00:00
depends_on:
2019-09-06 11:42:47 +00:00
- db
- redis
env_file:
- db.env
- web.env
2019-09-06 11:00:11 +00:00
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development
ports:
- 5000:5000
2019-09-05 12:43:36 +00:00
volumes:
2019-11-29 14:08:16 +00:00
- /mnt/opaque:/mnt/opaque
- ./app:/home/opaque/app
2019-09-12 09:35:23 +00:00
- ./logs:/home/opaque/logs
2019-09-13 07:32:30 +00:00
- ./migrations:/home/opaque/migrations
2019-11-29 14:08:16 +00:00
- ./tests:/home/opaque/tests
- ./config.py:/home/opaque/config.py
- ./docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
- ./opaque.py:/home/opaque/opaque.py
2019-11-29 14:08:16 +00:00
- ./requirements.txt:/home/opaque/requirements.txt
2019-09-06 11:42:47 +00:00
daemon:
2019-09-05 12:43:36 +00:00
depends_on:
2019-09-06 11:42:47 +00:00
- db
env_file:
- db.env
- web.env
2019-09-06 09:38:35 +00:00
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
2019-09-05 12:43:36 +00:00
volumes:
2019-11-29 14:08:16 +00:00
- /mnt/opaque:/mnt/opaque
2019-09-12 10:01:46 +00:00
- ./logs:/home/opaque_daemon/logs
2019-11-29 14:08:16 +00:00
- ../opaque_daemon/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
2019-09-13 07:22:10 +00:00
- ../opaque_daemon/opaque_daemon.py:/home/opaque_daemon/opaque_daemon.py
- ../opaque_daemon/merge_corpus_files.py:/home/opaque_daemon/merge_corpus_files.py
2019-11-29 14:08:16 +00:00
- ../opaque_daemon/requirements.txt:/home/opaque_daemon/requirements.txt
2019-10-23 13:21:34 +00:00
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
2019-09-06 11:42:47 +00:00
db:
env_file: db.env
image: postgres:11
2019-09-06 09:38:35 +00:00
volumes:
2019-09-13 12:01:57 +00:00
- /srv/opaque/database:/var/lib/postgresql/data
2019-09-06 11:42:47 +00:00
redis:
image: redis:5