-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (76 loc) · 1.87 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
67
68
69
70
71
72
73
74
75
76
version: '3.8'
services:
reverseProxy:
container_name: gradeview-reverse-proxy
image: ${CI_REGISTRY_IMAGE:-gradeview}/reverse-proxy:${REVERSE_PROXY_VERSION:-development}
build: ./reverseProxy
volumes:
- ${SOCKETS_DIR:-/dev/null}:/run/sockets
environment:
- REVERSE_PROXY_LISTEN=${REVERSE_PROXY_LISTEN:-0.0.0.0:80}
networks:
- frontend
- concept_map_integration
ports:
- 80:80
depends_on:
- web
- api
- dtgui-progress-report
web:
container_name: gradeview-web
image: ${CI_REGISTRY_IMAGE:-gradeview}/web:${WEB_VERSION:-development}
build: ./website/server
environment:
- REACT_APP_PROXY_SERVER=${REACT_APP_PROXY_SERVER}
- PORT=${REACT_APP_PORT}
networks:
- frontend
command: npm start
restart: unless-stopped
api:
container_name: gradeview-api
image: ${CI_REGISTRY_IMAGE:-gradeview}/server:${API_VERSION:-development}
build: ./api
volumes:
- ./api:/api
environment:
- PORT=${API_PORT}
networks:
- frontend
- db
command: npm start
restart: unless-stopped
dtgui-progress-report:
container_name: dtgui-progress-report
image: ${CI_REGISTRY_IMAGE:-dtgui}/progress-report:${PROGRESS_REPORT_VERSION:-development}
build: ./progressReport
environment:
- LISTEN_PORT=${PROGRESS_REPORT_PORT:-5000}
networks:
- concept_map_integration
ports:
- 8080:${PROGRESS_REPORT_PORT}
restart: unless-stopped
redis:
image: redis:latest
networks:
- db
command: redis-server --requirepass ${REDIS_DB_SECRET:-password}
ports:
- 6379:6379
dbcron:
build: ./dbcron
volumes:
- ./dbcron:/dbcron
networks:
- db
depends_on:
- redis
networks:
frontend:
name: frontend
concept_map_integration:
name: concept_map_integration
db:
name: db