2020-09-16 14:13:06 +02:00
|
|
|
version: "3.5"
|
2019-09-04 14:51:46 +02:00
|
|
|
|
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:
|
2021-09-15 17:58:17 +02:00
|
|
|
- "${HOST_DATA_DIR:-./data}/db:/var/lib/postgresql/data"
|
2020-11-09 16:14:19 +01:00
|
|
|
|
|
|
|
mq:
|
|
|
|
image: redis:6
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2021-09-15 17:58:17 +02:00
|
|
|
- "${HOST_DATA_DIR:-./data}/mq:/data"
|
2020-11-09 16:14:19 +01:00
|
|
|
|
2020-10-08 12:34:02 +02:00
|
|
|
nopaque:
|
2020-06-05 14:42:04 +02:00
|
|
|
build:
|
|
|
|
args:
|
2020-11-09 16:14:19 +01:00
|
|
|
DOCKER_GID: ${HOST_DOCKER_GID}
|
2020-10-08 12:34:02 +02:00
|
|
|
GID: ${HOST_GID}
|
|
|
|
UID: ${HOST_UID}
|
2021-07-20 15:07:42 +02:00
|
|
|
context: .
|
2020-01-06 10:08:58 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
2020-10-08 12:34:02 +02:00
|
|
|
- mq
|
2020-06-09 12:46:08 +02:00
|
|
|
env_file: .env
|
2020-11-03 14:19:50 +01:00
|
|
|
image: nopaque:latest
|
2020-09-16 14:21:41 +02:00
|
|
|
restart: unless-stopped
|
2019-09-05 14:43:36 +02:00
|
|
|
volumes:
|
2020-06-05 14:42:04 +02:00
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
2020-10-08 12:34:02 +02:00
|
|
|
- "${NOPAQUE_DATA_DIR:-/mnt/nopaque}:${NOPAQUE_DATA_DIR:-/mnt/nopaque}"
|
2021-09-15 17:58:17 +02:00
|
|
|
- "${HOST_LOG_DIR-./logs}:${NOPAQUE_LOG_DIR:-/home/nopaque/logs}"
|