nopaque/docker-compose.yml
2019-09-06 11:38:35 +02:00

39 lines
960 B
YAML

version: '3'
services:
opaque:
container_name: opaque
depends_on:
- opaque_database
- opaque_redis
env_file:
- opaque_database_env
- opaque_env
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:latest
ports:
- 5000:5000
restart: always
volumes:
- /opaque_storage:/opaque_storage
opaque_daemon:
container_name: opaque_daemon
depends_on:
- opaque_database
env_file:
- opaque_database_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
opaque_database:
container_name: opaque_database
env_file: opaque_database_env
image: postgres:alpine
restart: always
volumes:
- /opaque_database:/var/lib/postgresql/data
opaque_redis:
container_name: opaque_redis
image: redis:alpine
restart: always