-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
73 lines (73 loc) · 1.85 KB
/
docker-compose.dev.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
services:
reverse-proxy:
container_name: gradeview-reverse-proxy
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
build: ./website
volumes:
- ./website:/website
environment:
- REACT_APP_PROXY_SERVER=${REACT_APP_PROXY_SERVER}
- PORT=${REACT_APP_PORT}
networks:
- frontend
restart: unless-stopped
api:
container_name: gradeview-api
build: ./api
volumes:
- ./api:/api
environment:
- PORT=${API_PORT}
networks:
- frontend
- db
depends_on:
- dbcron
restart: unless-stopped
dtgui-progress-report:
container_name: dtgui-progress-report
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