nopaque/docker-compose.yml

47 lines
1.2 KiB
YAML
Raw Normal View History

2020-09-16 12:13:06 +00:00
version: "3.5"
2020-04-08 15:21:42 +00:00
services:
nopaque:
2020-06-05 12:42:04 +00:00
build:
args:
GID: ${HOST_GID}
UID: ${HOST_UID}
2020-06-05 12:42:04 +00:00
context: ./web
depends_on:
- db
- mq
env_file: .env
2020-10-29 17:09:36 +00:00
image: nopaque:development
2020-09-16 12:21:41 +00:00
restart: unless-stopped
2019-09-05 12:43:36 +00:00
volumes:
- "${NOPAQUE_DATA_DIR:-/mnt/nopaque}:${NOPAQUE_DATA_DIR:-/mnt/nopaque}"
- "${HOST_NOPAQUE_LOG_FILE-./nopaque.log}:${NOPAQUE_LOG_FILE:-/home/nopaque/nopaque.log}"
nopaqued:
2020-06-05 12:42:04 +00:00
build:
args:
DOCKER_GID: ${HOST_DOCKER_GID}
GID: ${HOST_GID}
UID: ${HOST_UID}
2020-06-05 12:42:04 +00:00
context: ./daemon
depends_on:
- db
- nopaque
env_file: .env
2020-10-29 17:09:36 +00:00
image: nopaqued:development
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"
- "${NOPAQUE_DATA_DIR:-/mnt/nopaque}:${NOPAQUE_DATA_DIR:-/mnt/nopaque}"
- "${HOST_NOPAQUE_DAEMON_LOG_FILE-./nopaqued.log}:${NOPAQUE_DAEMON_LOG_FILE:-/home/nopaqued/nopaqued.log}"
2019-09-06 11:42:47 +00:00
db:
env_file: db.env
image: postgres:11
2020-09-16 12:21:41 +00:00
restart: unless-stopped
2019-09-06 09:38:35 +00:00
volumes:
- "${HOST_DB_DIR:-./db}:/var/lib/postgresql/data"
mq:
2020-07-30 12:17:51 +00:00
image: redis:6
2020-09-16 12:21:41 +00:00
restart: unless-stopped
volumes:
- "${HOST_MQ_DIR:-./mq}:/data"