-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-local.yml
More file actions
224 lines (224 loc) · 5.76 KB
/
docker-compose-local.yml
File metadata and controls
224 lines (224 loc) · 5.76 KB
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
version: '3.9'
services:
sqldb:
image: mcr.microsoft.com/mssql/server:2019-latest
platform: linux
user: root
environment:
- SA_PASSWORD=2Secure*Password2
- ACCEPT_EULA=Y
healthcheck:
test: ['CMD', '/opt/mssql-tools/bin/sqlcmd', '-Usa', '-P2Secure*Password2', '-Q', 'select 1']
interval: 2s
retries: 20
ports:
- '1450:1433'
volumes:
- './db_volume/_data:/var/opt/mssql/data'
- './db_volume/_log:/var/opt/mssql/log'
- './db_volume/_log:/var/opt/mssql/secrets'
extra_hosts:
- 'host.docker.internal:host-gateway'
rabbit:
image: rabbitmq:3-management
user: root
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=pass
restart: on-failure
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
retries: 3
ports:
- '15672:15672'
- '5672:5672'
extra_hosts:
- 'host.docker.internal:host-gateway'
kurrento:
image: kurento/kurento-media-server:latest
user: root
container_name: kurento
restart: on-failure
environment:
- KMS_MIN_PORT=5000
- KMS_MAX_PORT=5050
- KMS_ICE_TCP=1
- KMS_TURN_URL=5ca911fbb554f4a74b94acba:c5Q4MTVZd4AvW2eL@216.39.253.22:80
- GST_DEBUG="${GST_DEBUG:-2},KurentoUriEndpointImpl:5,uriendpoint:5,playerendpoint:5,kmselement:5,appsrc:4,agnosticbin*:5,uridecodebin:6,rtspsrc:6,souphttpsrc:5,GST_URI:6,*CAPS*:3"
ports:
- '8888:8888'
- '8433:8433'
- '6000-6050:6000-6050/udp'
volumes:
- ./records:/tmp
- ./certificates:/cerfs
- ./kconfig/kurento-local.conf.json:/etc/kurento/kurento.conf.json
extra_hosts:
- 'host.docker.internal:host-gateway'
identity:
image: 12345flex402/esport_identity_local
build:
context: .
dockerfile: ./deploy/Identity.Dockerfile
depends_on:
sqldb:
condition: service_healthy
rabbit:
condition: service_healthy
restart: on-failure
environment:
- ASPNETCORE_ENVIRONMENT=Local
ports:
- '5001:5001'
- '5000:5000'
extra_hosts:
- 'host.docker.internal:host-gateway'
gateway:
image: 12345flex402/esport-gateway-local
user: root
build:
context: .
dockerfile: ./deploy/Gateway.Dockerfile
depends_on:
- identity
restart: on-failure
environment:
- ASPNETCORE_ENVIRONMENT=Local
ports:
- '5002:443'
extra_hosts:
- 'host.docker.internal:host-gateway'
message:
image: 12345flex402/esport-message-service-local
user: root
build:
context: ./MessageService
dockerfile: ../deploy/MessageService.Dockerfile
depends_on:
rabbit:
condition: service_healthy
restart: on-failure
environment:
- ASPNETCORE_ENVIRONMENT=Local
ports:
- '5003:80'
extra_hosts:
- 'host.docker.internal:host-gateway'
stream:
image: 12345flex402/esport-stream-service-local
user: root
build:
context: .
dockerfile: ./deploy/StreamService.Dockerfile
depends_on:
- kurrento
- sqldb
- api-gateway
- identity
restart: on-failure
environment:
- ASPNETCORE_ENVIRONMENT=Local
ports:
- '5004:5004'
- '5014:5014'
extra_hosts:
- 'host.docker.internal:host-gateway'
web:
image: 12345flex402/esport-web-local
user: root
container_name: esport-web
build:
context: ./esport.ui2
dockerfile: ../deploy/ESportUi.Dockerfile
env_file:
- ./esport.ui2/.env.local
restart: on-failure
ports:
- '3000:3000'
stream-ui:
image: 12345flex402/esport-stream-ui-local
container_name: stream-ui
build:
context: ./esport.stream.ui
dockerfile: ../deploy/StreamUi-local.Dockerfile
restart: on-failure
ports:
- '4201:443'
- '4200:80'
stream-ui-dev:
image: 12345flex402/esport-stream-ui-local-dev
container_name: stream-ui-dev
build:
context: ./esport.stream.ui
dockerfile: ../deploy/StreamUi-local-dev.Dockerfile
restart: on-failure
volumes:
- ./esport.stream.ui:/usr/src/app/app-ui
- ./esport.stream.ui/node_modules:/usr/src/app/app-ui/node_modules
ports:
- '4200:4200'
competitions:
image: 12345flex402/esport-competitions-local
user: root
container_name: esport-competitions
build:
context: ./esport.competitions
dockerfile: ../deploy/Competitions.Dockerfile
restart: on-failure
volumes:
- /usr/src/app/node_modules
- ./esport.competitions:/usr/src/app
command: npm run start
env_file:
- ./esport.competitions/.env.local
depends_on:
- rabbit
- api-gateway
api-gateway:
image: 12345flex402/esport-gateway-ts-local
user: root
build:
context: ./esport.api.gateway
dockerfile: ../deploy/ApiGateway.Dockerfile
container_name: esport-api-gateway
restart: on-failure
volumes:
- /usr/src/app/node_modules
- ./esport.api.gateway:/usr/src/app
command: npm run start
env_file:
- ./esport.api.gateway/.env.local
depends_on:
- rabbit
ports:
- '3001:3001'
- '3011:3011'
userworkflow:
image: 12345flex402/userworkflow_local
user: root
build:
context: .
dockerfile: ./deploy/UserWorkflow.Dockerfile
depends_on:
- rabbit
- gateway
- sqldb
restart: on-failure
environment:
- ASPNETCORE_ENVIRONMENT=Local
ports:
- '5005:80'
extra_hosts:
- 'host.docker.internal:host-gateway'
nginxlocal:
image: 12345flex402/nginxlocal
user: root
build:
context: .
dockerfile: ./deploy/LocalNginx.Dockerfile
ports:
- '443:443'
- '4201:4201'
extra_hosts:
- 'host.docker.internal:host-gateway'