mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
46 lines
870 B
YAML
46 lines
870 B
YAML
version: '3.5'
|
|
|
|
volumes:
|
|
redis-trash1:
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
args:
|
|
GID: ${GID}
|
|
UID: ${UID}
|
|
context: ./web
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
env_file: .env
|
|
image: nopaque/web
|
|
volumes:
|
|
- "./logs:/home/nopaque/logs"
|
|
- "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}"
|
|
daemon:
|
|
build:
|
|
args:
|
|
DOCKER_GID: ${DOCKER_GID}
|
|
GID: ${GID}
|
|
UID: ${UID}
|
|
context: ./daemon
|
|
depends_on:
|
|
- db
|
|
- web
|
|
env_file: .env
|
|
image: nopaque/daemon
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
- "./logs:/home/nopaqued/logs"
|
|
- "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}"
|
|
db:
|
|
env_file: .env
|
|
image: postgres:11
|
|
volumes:
|
|
- "/srv/nopaque/db:/var/lib/postgresql/data"
|
|
redis:
|
|
image: redis:6
|
|
volumes:
|
|
- "redis-trash1:/data"
|