nopaque/docker-compose.yml

34 lines
777 B
YAML
Raw Normal View History

2020-09-16 14:13:06 +02:00
version: "3.5"
2020-04-08 17:21:42 +02:00
services:
2020-11-09 16:14:19 +01:00
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:
2020-06-05 14:42:04 +02:00
build:
args:
2020-11-09 16:14:19 +01:00
DOCKER_GID: ${HOST_DOCKER_GID}
GID: ${HOST_GID}
UID: ${HOST_UID}
2020-06-05 14:42:04 +02:00
context: ./web
depends_on:
- db
- mq
env_file: .env
2020-10-29 18:09:36 +01:00
image: nopaque:development
2020-09-16 14:21:41 +02:00
restart: unless-stopped
2019-09-05 14:43:36 +02:00
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "${NOPAQUE_DATA_DIR:-/mnt/nopaque}:${NOPAQUE_DATA_DIR:-/mnt/nopaque}"
- "${HOST_NOPAQUE_LOG_FILE-./nopaque.log}:${NOPAQUE_LOG_FILE:-/home/nopaque/nopaque.log}"