mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
33 lines
725 B
YAML
33 lines
725 B
YAML
version: "3.5"
|
|
|
|
services:
|
|
db:
|
|
env_file: db.env
|
|
image: postgres:11
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "${HOST_DB_DIR:-./db}:/var/lib/postgresql/data"
|
|
|
|
mq:
|
|
image: redis:6
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "${HOST_MQ_DIR:-./mq}:/data"
|
|
|
|
nopaque:
|
|
build:
|
|
args:
|
|
DOCKER_GID: ${HOST_DOCKER_GID}
|
|
GID: ${HOST_GID}
|
|
UID: ${HOST_UID}
|
|
context: ./web
|
|
depends_on:
|
|
- db
|
|
- mq
|
|
env_file: .env
|
|
image: nopaque:development
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "${NOPAQUE_DATA_DIR:-/mnt/nopaque}:${NOPAQUE_DATA_DIR:-/mnt/nopaque}"
|
|
- "${HOST_NOPAQUE_LOG_FILE-./nopaque.log}:${NOPAQUE_LOG_FILE:-/home/nopaque/nopaque.log}"
|