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