-
Notifications
You must be signed in to change notification settings - Fork 41
/
docker-compose.yaml
329 lines (328 loc) · 8.33 KB
/
docker-compose.yaml
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
networks:
extnet:
driver: bridge
hydronet:
internal: true
ipam:
config:
- subnet: 172.16.0.0/24
name: demo_hydronet
services:
gateway:
container_name: gateway
depends_on:
manager:
condition: service_started
environment:
API_GATEWAY_GRPC_PORT: '9090'
API_GATEWAY_HOST: managerui
API_GATEWAY_HTTP_PORT: '8080'
GRPC_PORT: '9091'
HTTP_PORT: '9090'
image: hydrosphere/serving-gateway:68cbcda8208b24d1060445a319832feabf4008b2
networks:
hydronet: {}
ports:
- published: 29090
target: 9090
- published: 29091
target: 9091
hydro-auto-od:
container_name: hydro-auto-od
depends_on:
minio:
condition: service_started
mongodb:
condition: service_started
environment:
AWS_ACCESS_KEY_ID: minio
AWS_SECRET_ACCESS_KEY: minio123
CLUSTER_ENDPOINT: http://managerui:8080
DEBUG: "false"
DEFAULT_RUNTIME: hydrosphere/serving-runtime-python-3.7:3.0.0-dev4
DEFAULT_TIMEOUT: '120'
GRPC_PORT: '5001'
MONGO_AUTH_DB: admin
MONGO_DATABASE: hydro-serving-data-profiler
MONGO_PASS: hydr0s3rving
MONGO_PORT: '27017'
MONGO_URL: mongodb
MONGO_USER: root
S3_ENDPOINT: http://minio:9000
image: hydrosphere/hydro-auto-od:44cd54bfbcd8b941ad1837c46355894be4fb4a34
networks:
extnet: {}
hydronet: {}
manager:
container_name: manager
depends_on:
postgres:
condition: service_started
image: hydrosphere/serving-manager:e29d10eb36589ca966f1d0cecb3aafb4d333907f
networks:
extnet: {}
hydronet: {}
ports:
- published: 19090
target: 9090
- published: 19091
target: 9091
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
managerui:
container_name: managerui
depends_on:
gateway:
condition: service_started
manager:
condition: service_started
rootcause:
condition: service_started
serving-sonar:
condition: service_started
visualization:
condition: service_started
environment:
AUTO_OD_GRPC_PORT: '5001'
AUTO_OD_HOST: auto-od
GATEWAY_GRPC_PORT: '9091'
GATEWAY_HOST: gateway
GATEWAY_HTTP_PORT: '9090'
MANAGER_GRPC_PORT: '9091'
MANAGER_HOST: manager
MANAGER_HTTP_PORT: '9090'
MONITORING_GRPC_PORT: '9091'
MONITORING_HOST: serving-sonar
MONITORING_HTTP_PORT: '9090'
PROMETHEUS_AM_HOST: prometheus-am
ROOTCAUSE_HOST: rootcause
ROOTCAUSE_HTTP_PORT: '5000'
STAT_HOST: stat
STAT_PORT: '5000'
VISUALIZATION_HOST: visualization
VISUALIZATION_HTTP_PORT: '5000'
image: hydrosphere/hydro-serving-ui:3.0.3
networks:
extnet: {}
hydronet: {}
ports:
- published: 80
target: 8080
- published: 9090
target: 9090
minio:
container_name: minio
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.5.27-debian-10-r6
networks:
extnet: {}
hydronet: {}
ports:
- published: 9000
target: 9000
mongodb:
container_name: mongodb
environment:
MONGODB_ADVERTISED_HOSTNAME: mongodb
MONGODB_REPLICA_SET_KEY: replicasetkey123
MONGODB_REPLICA_SET_MODE: primary
MONGODB_ROOT_PASSWORD: hydr0s3rving
image: bitnami/mongodb:4.4.7-debian-10-r11
networks:
extnet: {}
hydronet: {}
ports:
- published: 27017
target: 27017
restart: on-failure
postgres:
container_name: postgres
environment:
POSTGRES_DB: docker
POSTGRES_PASSWORD: docker
POSTGRES_USER: docker
image: postgres:9.6-alpine
networks:
hydronet: {}
ports:
- published: 5432
target: 5432
prometheus-am:
container_name: prometheus-am
image: prom/alertmanager
networks:
extnet: {}
hydronet: {}
ports:
- published: 9093
target: 9093
rootcause:
command: service
container_name: rootcause
depends_on:
mongodb:
condition: service_started
rootcause-worker:
condition: service_started
serving-sonar:
condition: service_started
environment:
AWS_ACCESS_KEY_ID: minio
AWS_SECRET_ACCESS_KEY: minio123
DEBUG: "False"
GRPC_UI_ADDRESS: managerui
HTTP_UI_ADDRESS: http://managerui:8080
MONGO_AUTH_DB: admin
MONGO_PASS: hydr0s3rving
MONGO_PORT: '27017'
MONGO_URL: mongodb
MONGO_USER: root
ROOTCAUSE_DB_NAME: rootcause
S3_ENDPOINT: http://minio:9000
image: hydrosphere/hydro-root-cause:3.0.3
networks:
extnet: {}
hydronet: {}
ports:
- published: 5005
target: 5000
rootcause-worker:
command: worker
container_name: rootcause-worker
depends_on:
mongodb:
condition: service_started
serving-sonar:
condition: service_started
environment:
AWS_ACCESS_KEY_ID: minio
AWS_SECRET_ACCESS_KEY: minio123
DEBUG: "False"
GRPC_UI_ADDRESS: managerui:9090
HTTP_UI_ADDRESS: http://managerui:8080
MONGO_AUTH_DB: admin
MONGO_PASS: hydr0s3rving
MONGO_PORT: '27017'
MONGO_URL: mongodb
MONGO_USER: root
ROOTCAUSE_DB_NAME: rootcause
S3_ENDPOINT: http://minio:9000
image: hydrosphere/hydro-root-cause:3.0.3
networks:
hydronet: {}
serving-sonar:
container_name: serving-sonar
depends_on:
postgres:
condition: service_started
environment:
ALERTING_FRONTEND_URL: http://localhost/
ALERTING_MANAGER_URL: prometheus-am:9093
DB_JDBC_URL: jdbc:postgresql://postgres:5432/docker
DB_PASS: docker
DB_TYPE: postgres
DB_USER: docker
GRPC_PORT: '9091'
HTTP_PORT: '9090'
MONGO_AUTH_DB: admin
MONGO_HOST: mongodb
MONGO_PASS: hydr0s3rving
MONGO_USER: root
SIDECAR_GRPC_PORT: '9090'
SIDECAR_HOST: managerui
SIDECAR_HTTP_PORT: '8080'
STORAGE_ACCESS_KEY: minio
STORAGE_ENDPOINT: http://minio:9000
STORAGE_PATH_STYLE_ACCESS: "true"
STORAGE_S3_IMPL: org.apache.hadoop.fs.s3a.S3AFileSystem
STORAGE_SECRET_KEY: minio123
image: hydrosphere/sonar:3.0.3
networks:
extnet: {}
hydronet: {}
ports:
- published: 39090
target: 9090
- published: 39091
target: 9091
stat:
container_name: stat
depends_on:
minio:
condition: service_started
mongodb:
condition: service_started
environment:
AWS_ACCESS_KEY_ID: minio
AWS_SECRET_ACCESS_KEY: minio123
HTTP_UI_ADDRESS: http://managerui:8080
MONGO_PASS: hydr0s3rving
MONGO_PORT: '27017'
MONGO_URL: mongodb
MONGO_USER: root
S3_ENDPOINT: http://minio:9000
image: hydrosphere/hydro-stat:3.0.3
networks:
extnet: {}
hydronet: {}
ports:
- published: 5002
target: 5000
visualization:
command: service
container_name: visualization
depends_on:
minio:
condition: service_started
mongodb:
condition: service_started
environment:
AWS_ACCESS_KEY_ID: minio
AWS_SECRET_ACCESS_KEY: minio123
AWS_STORAGE_ENDPOINT: http://minio:9000
DEBUG: "False"
GRPC_PORT: '5003'
GRPC_PROXY_ADDRESS: managerui:9090
HTTP_PROXY_ADDRESS: http://managerui:8080
MONGO_PASS: hydr0s3rving
MONGO_PORT: '27017'
MONGO_URL: mongodb
MONGO_USER: root
SECURE: "False"
image: hydrosphere/hydro-visualization:3.0.3
networks:
extnet: {}
hydronet: {}
ports:
- published: 5000
target: 5000
visualization-worker:
command: worker
container_name: visualization-worker
depends_on:
minio:
condition: service_started
mongodb:
condition: service_started
visualization:
condition: service_started
environment:
AWS_ACCESS_KEY_ID: minio
AWS_SECRET_ACCESS_KEY: minio123
AWS_STORAGE_ENDPOINT: http://minio:9000
DEBUG: "False"
GRPC_PROXY_ADDRESS: managerui:9090
HTTP_PROXY_ADDRESS: http://managerui:8080
MONGO_PASS: hydr0s3rving
MONGO_PORT: '27017'
MONGO_URL: mongodb
MONGO_USER: root
SECURE: "False"
image: hydrosphere/hydro-visualization:3.0.3
networks:
hydronet: {}
version: '3.5'
volumes:
sonardata: {}