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