version: '3' services: web: depends_on: - db - redis env_file: - opaque_database.env - opaque.env image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque:development ports: - 5000:5000 restart: always volumes: - /opaque_storage:/opaque_storage daemon: depends_on: - db 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 db: env_file: opaque_database.env image: postgres:alpine restart: always volumes: - /opaque_database:/var/lib/postgresql/data redis: image: redis:alpine restart: always