mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
50 lines
982 B
YAML
50 lines
982 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
|
|
restart: unless-stopped
|
|
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
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
- "./logs:/home/nopaqued/logs"
|
|
- "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}"
|
|
db:
|
|
env_file: .env
|
|
image: postgres:11
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "/srv/nopaque/db:/var/lib/postgresql/data"
|
|
redis:
|
|
image: redis:6
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "redis-trash1:/data"
|