mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Update compose files
This commit is contained in:
parent
f9f6857e4e
commit
c6c8a775f4
@ -32,7 +32,7 @@ services:
|
||||
- /mnt/nopaque:/mnt/nopaque
|
||||
- ./logs:/home/nopaqued/logs
|
||||
- ../opaque_daemon/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
|
||||
- ../opaque_daemon/nopaqued.py:/home/nopaqued/opaque_daemon.py
|
||||
- ../opaque_daemon/nopaqued.py:/home/nopaqued/nopaqued.py
|
||||
- ../opaque_daemon/merge_corpus_files.py:/home/nopaqued/merge_corpus_files.py
|
||||
- ../opaque_daemon/requirements.txt:/home/nopaqued/requirements.txt
|
||||
- $HOME/.docker/config.json:/home/nopaqued/.docker/config.json
|
||||
|
@ -6,10 +6,6 @@ services:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
labels:
|
||||
- com.docker.lb.hosts=nopaque
|
||||
- com.docker.lb.port=8080
|
||||
- com.docker.lb.sticky_session_cookie=session
|
||||
env_file:
|
||||
- db.env
|
||||
- web.env
|
||||
@ -18,7 +14,14 @@ services:
|
||||
- 5000:5000
|
||||
volumes:
|
||||
- /mnt/nopaque:/mnt/nopaque
|
||||
- ./app:/home/nopaque/app
|
||||
- ./logs:/home/nopaque/logs
|
||||
- ./migrations:/home/nopaque/migrations
|
||||
- ./tests:/home/nopaque/tests
|
||||
- ./config.py:/home/nopaque/config.py
|
||||
- ./docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
|
||||
- ./nopaque.py:/home/nopaque/nopaque.py
|
||||
- ./requirements.txt:/home/nopaque/requirements.txt
|
||||
daemon:
|
||||
deploy:
|
||||
placement:
|
||||
@ -31,6 +34,10 @@ services:
|
||||
volumes:
|
||||
- /mnt/nopaque:/mnt/nopaque
|
||||
- ./logs:/home/nopaqued/logs
|
||||
- ../opaque_daemon/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
|
||||
- ../opaque_daemon/nopaqued.py:/home/nopaqued/nopaqued.py
|
||||
- ../opaque_daemon/merge_corpus_files.py:/home/nopaqued/merge_corpus_files.py
|
||||
- ../opaque_daemon/requirements.txt:/home/nopaqued/requirements.txt
|
||||
- $HOME/.docker/config.json:/home/nopaqued/.docker/config.json
|
||||
db:
|
||||
deploy:
|
||||
|
Loading…
Reference in New Issue
Block a user