-
Notifications
You must be signed in to change notification settings - Fork 184
/
docker-compose.yml
66 lines (62 loc) · 1.93 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3"
services:
cesi-backend:
container_name: cesi-backend
restart: on-failure
build:
context: .
dockerfile: .docker/Dockerfile.backend
volumes:
- "./:/app:ro"
- "./defaults/cesi.conf.toml:/etc/cesi.conf.toml:ro"
ports:
- ${CESI_BACKEND_PORT}:5000
depends_on:
- products.example.com
- analysis.example.com
- monitoring.example.com
cesi-frontend:
container_name: cesi-frontend
restart: on-failure
build:
context: .
dockerfile: .docker/Dockerfile.frontend
volumes:
- "./cesi/ui/:/app:ro"
ports:
- "${CESI_UI_PORT}:3000"
stdin_open: true
environment:
- NODE_ENV=development
depends_on:
- cesi-backend
products.example.com:
image: ef9n/supervisord:${SUPERVISOR_TAG}
restart: on-failure
volumes:
- "./.docker/supervisor/confs/conf.d:/etc/supervisor/conf.d"
- "./.docker/supervisor/products_supervisord.conf:/etc/supervisor/supervisord.conf"
- "./.docker/supervisor/bin/:/opt/cesi-dev/bin"
- "/tmp/cesi-dev/logs/products/:/opt/cesi-dev/logs"
ports:
- "9001:9001"
analysis.example.com:
image: ef9n/supervisord:${SUPERVISOR_TAG}
restart: on-failure
volumes:
- "./.docker/supervisor/confs/conf.d:/etc/supervisor/conf.d"
- "./.docker/supervisor/analysis_supervisord.conf:/etc/supervisor/supervisord.conf"
- "./.docker/supervisor/bin/:/opt/cesi-dev/bin"
- "/tmp/cesi-dev/logs/analysis/:/opt/cesi-dev/logs"
ports:
- "9002:9001"
monitoring.example.com:
image: ef9n/supervisord:${SUPERVISOR_TAG}
restart: on-failure
volumes:
- "./.docker/supervisor/confs/conf.d:/etc/supervisor/conf.d"
- "./.docker/supervisor/monitoring_supervisord.conf:/etc/supervisor/supervisord.conf"
- "./.docker/supervisor/bin/:/opt/cesi-dev/bin"
- "/tmp/cesi-dev/logs/monitoring/:/opt/cesi-dev/logs"
ports:
- "9003:9001"