forked from artcom/eppsa-ksm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.development.yml
204 lines (187 loc) · 5.33 KB
/
docker-compose.development.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
version: "3.2"
services:
nginx:
build:
args:
environment: development
depends_on:
- game-client
- game-stats
cms-frontend:
build:
dockerfile: Dockerfile.development
volumes:
- ./cms-frontend:/app
- /app/node_modules
environment:
PORT: 443
dashboard:
build:
dockerfile: Dockerfile.development
volumes:
- ./dashboard:/app
- /app/node_modules
game-client:
build:
context: ./game-client
dockerfile: Dockerfile.development
environment:
ASSET_SERVER_URI: https://asset-server.${HOST}
CONTENT_SERVER_URI: https://content-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
PORT: 443
depends_on:
- content-server
- asset-server
- game-server
- game-challenge-button
- game-challenge-quiz
- game-challenge-clicker
- game-challenge-hidden
- game-challenge-skill
- game-challenge-graph
- game-challenge-sorting
volumes:
- ./game-client:/app
- /app/node_modules
dashboard:
build:
context: ./dashboard
dockerfile: Dockerfile.development
environment:
CONTENT_SERVER_URI: https://content-server.${HOST}
ASSET_SERVER_URI: https://asset-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
FONT_URI: https://static.${HOST}/fonts
PORT: 443
volumes:
- ./dashboard:/app
- /app/node_modules
depends_on:
- content-server
- asset-server
- game-server
game-server:
build:
dockerfile: Dockerfile.development
volumes:
- ./game-server:/app
- /app/node_modules
game-stats:
build:
context: ./game-stats
dockerfile: Dockerfile.development
environment:
PORT: 443
MONGO_ACCESS_URI: https://mongo.${HOST}
volumes:
- ./game-stats:/app
- /app/node_modules
game-challenge-button:
build:
context: ./game-challenge/button
dockerfile: Dockerfile.development
environment:
PORT: 443
volumes:
- ./game-challenge/button:/app
- /app/node_modules
game-challenge-sorting:
build:
context: ./game-challenge/sorting
dockerfile: Dockerfile.development
environment:
PORT: 443
ASSET_SERVER_URI: https://asset-server.${HOST}
CONTENT_SERVER_URI: https://content-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
volumes:
- ./game-challenge/sorting:/app
- /app/node_modules
game-challenge-quiz:
build:
context: ./game-challenge/quiz
dockerfile: Dockerfile.development
environment:
PORT: 443
ASSET_SERVER_URI: https://asset-server.${HOST}
CONTENT_SERVER_URI: https://content-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
volumes:
- ./game-challenge/quiz:/app
- /app/node_modules
game-challenge-clicker:
build:
context: ./game-challenge/clicker
dockerfile: Dockerfile.development
environment:
PORT: 443
ASSET_SERVER_URI: https://asset-server.${HOST}
CONTENT_SERVER_URI: https://content-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
volumes:
- ./game-challenge/clicker:/app
- /app/node_modules
game-challenge-graph:
build:
context: ./game-challenge/graph
dockerfile: Dockerfile.development
environment:
PORT: 80
ASSET_SERVER_URI: https://asset-server.${HOST}
CONTENT_SERVER_URI: https://content-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
volumes:
- ./game-challenge/graph:/app
- /app/node_modules
game-challenge-astragal:
build:
context: ./game-challenge/astragal
dockerfile: Dockerfile.development
environment:
PORT: 80
ASSET_SERVER_URI: https://asset-server.${HOST}
CONTENT_SERVER_URI: https://content-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
volumes:
- ./game-challenge/astragal:/app
- /app/node_modules
game-challenge-hidden:
build:
context: ./game-challenge/hidden
dockerfile: Dockerfile.development
environment:
PORT: 443
ASSET_SERVER_URI: https://asset-server.${HOST}
CONTENT_SERVER_URI: https://content-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
volumes:
- ./game-challenge/hidden:/app
- /app/node_modules
game-challenge-skill:
build:
context: ./game-challenge/skill
dockerfile: Dockerfile.development
environment:
PORT: 443
ASSET_SERVER_URI: https://asset-server.${HOST}
CONTENT_SERVER_URI: https://content-server.${HOST}
GAME_SERVER_URI: https://game-server.${HOST}
STATIC_SERVER_URI: https://static.${HOST}
volumes:
- ./game-challenge/skill:/app
- /app/node_modules
mongo-access:
build:
dockerfile: Dockerfile.development
volumes:
- ./mongo-access:/app
- /app/node_modules