2020-09-16 14:13:06 +02:00
|
|
|
version: "3.5"
|
2019-09-04 14:51:46 +02:00
|
|
|
|
2020-04-23 07:56:23 +02:00
|
|
|
volumes:
|
|
|
|
redis-trash1:
|
|
|
|
|
2020-04-08 17:21:42 +02:00
|
|
|
services:
|
2019-09-06 13:42:47 +02:00
|
|
|
web:
|
2020-06-05 14:42:04 +02:00
|
|
|
build:
|
|
|
|
args:
|
2020-06-09 12:46:08 +02:00
|
|
|
GID: ${GID}
|
|
|
|
UID: ${UID}
|
2020-06-05 14:42:04 +02:00
|
|
|
context: ./web
|
2020-01-06 10:08:58 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- redis
|
2020-06-09 12:46:08 +02:00
|
|
|
env_file: .env
|
2020-06-05 14:42:04 +02:00
|
|
|
image: nopaque/web
|
2020-09-16 14:21:41 +02:00
|
|
|
restart: unless-stopped
|
2019-09-05 14:43:36 +02:00
|
|
|
volumes:
|
2020-03-30 17:27:54 +02:00
|
|
|
- "./logs:/home/nopaque/logs"
|
2020-06-09 12:46:08 +02:00
|
|
|
- "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}"
|
2019-09-06 13:42:47 +02:00
|
|
|
daemon:
|
2020-06-05 14:42:04 +02:00
|
|
|
build:
|
|
|
|
args:
|
2020-06-09 12:46:08 +02:00
|
|
|
DOCKER_GID: ${DOCKER_GID}
|
|
|
|
GID: ${GID}
|
|
|
|
UID: ${UID}
|
2020-06-05 14:42:04 +02:00
|
|
|
context: ./daemon
|
2020-01-06 10:08:58 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
2020-05-19 09:27:21 +02:00
|
|
|
- web
|
2020-06-09 12:46:08 +02:00
|
|
|
env_file: .env
|
2020-06-05 14:42:04 +02:00
|
|
|
image: nopaque/daemon
|
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-03-30 17:27:54 +02:00
|
|
|
- "./logs:/home/nopaqued/logs"
|
2020-06-09 12:46:08 +02:00
|
|
|
- "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}"
|
2019-09-06 13:42:47 +02:00
|
|
|
db:
|
2020-06-09 12:46:08 +02:00
|
|
|
env_file: .env
|
2019-11-29 15:19:25 +01:00
|
|
|
image: postgres:11
|
2020-09-16 14:21:41 +02:00
|
|
|
restart: unless-stopped
|
2019-09-06 11:38:35 +02:00
|
|
|
volumes:
|
2020-04-09 08:18:04 +02:00
|
|
|
- "/srv/nopaque/db:/var/lib/postgresql/data"
|
2019-09-06 13:42:47 +02:00
|
|
|
redis:
|
2020-07-30 14:17:51 +02:00
|
|
|
image: redis:6
|
2020-09-16 14:21:41 +02:00
|
|
|
restart: unless-stopped
|
2020-04-23 07:56:23 +02:00
|
|
|
volumes:
|
|
|
|
- "redis-trash1:/data"
|