mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
38 lines
884 B
YAML
38 lines
884 B
YAML
version: '3'
|
|
|
|
services:
|
|
web:
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
env_file:
|
|
- db.env
|
|
- web.env
|
|
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development
|
|
ports:
|
|
- 5000:5000
|
|
restart: always
|
|
volumes:
|
|
- /opaque_storage:/opaque_storage
|
|
- ./app:/home/opaque/app
|
|
- ./config.py:/home/opaque/config.py
|
|
- ./migrations:/home/opaque/migrations
|
|
- ./opaque.py:/home/opaque/opaque.py
|
|
daemon:
|
|
depends_on:
|
|
- db
|
|
env_file: db.env
|
|
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
|
|
restart: always
|
|
volumes:
|
|
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
|
|
db:
|
|
env_file: db.env
|
|
image: postgres:alpine
|
|
restart: always
|
|
volumes:
|
|
- /opaque_database:/var/lib/postgresql/data
|
|
redis:
|
|
image: redis:alpine
|
|
restart: always
|