forked from erda-project/erda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
erda.yml
761 lines (761 loc) · 20.8 KB
/
erda.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
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
version: "2.0"
meta:
ERDA_COMPONENT: ""
values:
production:
nfs_root: "<%$.Storage.MountPoint%>"
gittar_root: "<%$.Storage.GittarDataPath%>"
replicas: 1
request_cpu: 0.1
request_mem: 128
envs:
ETCDCTL_API: "3"
MONITOR_ADDR: monitor:7096
services:
action-runner-scheduler:
cmd: "/app/action-runner-scheduler"
ports:
- port: 9500
protocol: "TCP"
l4_protocol: "TCP"
resources:
cpu: ${request_cpu:0.3}
max_cpu: 0.3
mem: 128
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "devops"
health_check:
http:
port: 9500
path: "/healthz"
duration: 120
exec: {}
expose: []
hosts: []
envs: {}
dop:
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
cmd: /app/dop
deployments:
labels:
GROUP: "devops"
replicas: 1
envs:
DEBUG: "true"
MONITOR_ADDR: monitor:7096
health_check:
exec: {}
http:
duration: 120
path: /_api/health
port: 9527
ports:
- default: false
expose: false
l4_protocol: TCP
port: 9527
protocol: TCP
resources:
cpu: ${request_cpu:0.5}
max_cpu: 1
mem: ${request_mem:2048}
max_mem: 2048
network:
mode: container
admin:
cmd: "/app/admin"
ports:
- port: 9095
protocol: TCP
l4_protocol: TCP
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
resources:
cpu: ${request_cpu:0.1}
max_cpu: 0.2
mem: ${request_mem:128}
max_mem: 256
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 9095
path: "/api/healthy"
duration: 120
exec: {}
cmdb:
cmd: "/app/cmdb"
ports:
- port: 9093
protocol: "TCP"
l4_protocol: "TCP"
envs:
AVATAR_STORAGE_URL: "file:///avatars"
CMDB_CONTAINER_TOPIC: "spot-metaserver_container"
CMDB_GROUP: "spot_cmdb_group"
CMDB_HOST_TOPIC: "spot-metaserver_host"
DEBUG: "false"
LICENSE_KEY: "XWoPm8I3FZuDclhuOhZ+qRPVHjXKCwSgZEOTyrMgtJg6f0Kz7QR0CyVN1ZWgbiou/OyABe7HyK1yVxDdeP1JuXcfOoGOdChTyiQfP5sdXUbferq5UkK7S44lMjNmzURlbdX8smSa13+8FQyDqz2BpDcBKMRfn2kKuF4n6n9Ls7HyVV7oWSKreEyIH3991Ug2grNEpcKip3ISVY7eGJ3uoahC9zs4fla1dzR47e5dgppHtf5WBjFgiSS+5qRi2mYa"
LISTEN_ADDR: ":9093"
UC_CLIENT_ID: "dice"
UC_CLIENT_SECRET: "secret"
CREATE_ORG_ENABLE: "false"
resources:
cpu: ${request_cpu:0.3}
max_cpu: 0.3
mem: ${request_mem:1536}
max_mem: 1536
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
- "${nfs_root:/netdata}/avatars:/avatars:rw"
- "${nfs_root:/netdata}/dice/cmdb/files:/files:rw"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 9093
path: "/info"
duration: 120
exec: {}
core-services:
cmd: "/app/core-services"
ports:
- port: 9526
protocol: "TCP"
l4_protocol: "TCP"
envs:
AVATAR_STORAGE_URL: "file:///avatars"
CMDB_CONTAINER_TOPIC: "spot-metaserver_container"
CMDB_GROUP: "spot_cmdb_group"
CMDB_HOST_TOPIC: "spot-metaserver_host"
DEBUG: "false"
LICENSE_KEY: "XWoPm8I3FZuDclhuOhZ+qRPVHjXKCwSgZEOTyrMgtJg6f0Kz7QR0CyVN1ZWgbiou/OyABe7HyK1yVxDdeP1JuXcfOoGOdChTyiQfP5sdXUbferq5UkK7S44lMjNmzURlbdX8smSa13+8FQyDqz2BpDcBKMRfn2kKuF4n6n9Ls7HyVV7oWSKreEyIH3991Ug2grNEpcKip3ISVY7eGJ3uoahC9zs4fla1dzR47e5dgppHtf5WBjFgiSS+5qRi2mYa"
LISTEN_ADDR: ":9526"
UC_CLIENT_ID: "dice"
UC_CLIENT_SECRET: "secret"
CREATE_ORG_ENABLE: "false"
resources:
cpu: ${request_cpu:0.3}
max_cpu: 0.3
mem: ${request_mem:512}
max_mem: 512
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
- "${nfs_root:/netdata}/avatars:/avatars:rw"
- "${nfs_root:/netdata}/dice/cmdb/files:/files:rw"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 9526
path: "/_api/health"
duration: 120
exec: { }
cluster-manager:
cmd: "/app/cluster-manager"
ports:
- port: 9094
protocol: "TCP"
l4_protocol: "TCP"
envs:
DEBUG: "false"
resources:
cpu: ${request_cpu:0.2}
max_cpu: 0.2
mem: ${request_mem:256}
max_mem: 256
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http: {}
exec: {}
cluster-dialer:
cmd: "/app/cluster-dialer"
ports:
- port: 80
protocol: "TCP"
l4_protocol: "TCP"
envs:
DEBUG: "false"
resources:
cpu: ${request_cpu:0.5}
max_cpu: 0.5
mem: ${request_mem:512}
max_mem: 512
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http: {}
exec: {}
collector:
cmd: "/app/collector"
ports:
- port: 7076
protocol: "TCP"
l4_protocol: "TCP"
expose: true
- port: 7098
protocol: "TCP"
l4_protocol: "TCP"
envs:
COLLECTOR_BROWSER_SAMPLING_RATE: "100"
COLLECTOR_ENABLE: "true"
resources:
cpu: ${request_cpu:1}
mem: ${request_mem:1024}
max_cpu: 1
max_mem: 1024
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "spot-v2"
expose:
- 7076
health_check:
http:
port: 7076
path: "/api/health"
duration: 120
exec: {}
hosts: []
binds: []
dicehub:
cmd: "/app/dicehub"
ports:
- port: 10000
protocol: "TCP"
l4_protocol: "TCP"
envs:
EXTENSION_MENU: "{\"流水线任务\":[\"source_code_management:代码管理\",\"build_management:构建管理\",\"deploy_management:部署管理\",\"version_management:版本管理\",\"test_management:测试管理\",\"data_management:数据治理\",\"custom_task:自定义任务\"],\"扩展服务\":[\"database:存储\",\"distributed_cooperation:分布式协作\",\"search:搜索\",\"message:消息\",\"content_management:内容管理\",\"security:安全\",\"traffic_load:流量负载\",\"monitoring&logging:监控&日志\",\"content:文本处理\",\"image_processing:图像处理\",\"document_processing:文件处理\",\"sound_processing:音频处理\",\"custom:自定义\",\"general_ability:通用能力\",\"new_retail:新零售能力\",\"srm:采供能力\",\"solution:解决方案\"]}"
RELEASE_GC_SWITCH: "true"
RELEASE_MAX_TIME_RESERVED: "72"
resources:
cpu: ${request_cpu:0.15}
max_cpu: 0.15
mem: ${request_mem:1024}
max_mem: 1024
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 10000
path: "/healthz"
duration: 120
exec: {}
eventbox:
cmd: "/app/eventbox"
ports:
- port: 9528
protocol: "TCP"
l4_protocol: "TCP"
envs:
ALIYUN_ACCESS_KEY_ID: ""
ALIYUN_ACCESS_KEY_SECRET: ""
ALIYUN_SMS_SIGN_NAME: ""
DICE_EMAIL_SMTP_DISPLAY_USER: ""
DICE_EMAIL_SMTP_HOST: ""
DICE_EMAIL_SMTP_PASSWORD: ""
DICE_EMAIL_SMTP_PORT: ""
DICE_EMAIL_SMTP_USERNAME: ""
DICE_PROXY: ""
resources:
cpu: ${request_cpu:2}
max_cpu: 2
mem: ${request_mem:2560}
max_mem: 2560
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 9528
path: "/api/dice/eventbox/version"
duration: 120
exec: {}
gittar:
cmd: "/app/gittar"
ports:
- port: 5566
protocol: "TCP"
l4_protocol: "TCP"
expose: true
envs:
GIT_INNER_USER_NAME: "18000000000"
GIT_INNER_USER_PASSWORD: "123456"
GITTAR_BRANCH_FILTER: "master,develop,feature/*,support/*,release/*,hotfix/*"
GITTAR_PORT: "5566"
UC_CLIENT_ID: "dice"
UC_CLIENT_SECRET: "secret"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:1536}
max_mem: 1536
network:
mode: "container"
binds:
- "${gittar_root:/netdata/dice/gittar}:/repository:rw"
deployments:
replicas: 1
labels:
GROUP: "devops"
expose:
- 5566
health_check:
http: {}
exec: {}
hepa:
cmd: "/app/hepa"
ports:
- port: 8080
protocol: "TCP"
l4_protocol: "TCP"
expose: true
resources:
cpu: ${request_cpu:0.5}
mem: 512
max_cpu: 0.5
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "addons"
expose:
- 8080
health_check:
http:
port: 8080
path: "/api/gateway/health/check"
duration: 120
exec: {}
monitor:
cmd: "/app/monitor"
ports:
- port: 7096
protocol: "TCP"
l4_protocol: "TCP"
- port: 7098
protocol: "TCP"
l4_protocol: "TCP"
- port: 7080
protocol: "TCP"
l4_protocol: "TCP"
envs:
BROWSER_ENABLE: "true"
BROWSER_GROUP_ID: "spot-monitor-browser"
CASSANDRA_BATCH_SIZE: "50"
CASSANDRA_PARALLELISM: "3"
ES_BATCH_SIZE: "50"
ES_PARALLELISM: "3"
LOG_TTL: "168h"
METRIC_INDEX_TTL: "192h"
TRACE_TTL: "168h"
resources:
cpu: ${request_cpu:1}
mem: ${request_mem:512}
max_cpu: 1
max_mem: 512
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "spot-v2"
health_check:
http:
port: 7096
path: "/api/health"
duration: 120
exec: {}
expose: []
hosts: []
binds: []
msp:
cmd: "/app/msp"
ports:
- port: 8080
protocol: "TCP"
l4_protocol: "TCP"
- port: 7080
protocol: "TCP"
l4_protocol: "TCP"
- port: 9080
protocol: "TCP"
l4_protocol: "TCP"
envs:
resources:
cpu: ${request_cpu:1}
mem: ${request_mem:512}
max_cpu: 1
max_mem: 512
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "msp"
health_check:
http:
port: 8080
path: "/health"
duration: 120
exec: {}
expose: []
hosts: []
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
openapi:
cmd: "/app/openapi"
ports:
- port: 9529
protocol: "TCP"
l4_protocol: "TCP"
expose: true
envs:
CREATE_ORG_ENABLE: "false"
resources:
cpu: ${request_cpu:0.5}
max_cpu: 0.5
mem: ${request_mem:512}
max_mem: 512
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "dice"
expose:
- 9529
health_check:
http:
port: 9529
path: "/api/openapi/version"
duration: 120
exec: {}
ecp:
cmd: "/app/ecp"
ports:
- port: 9029
protocol: "TCP"
l4_protocol: "TCP"
resources:
cpu: ${request_cpu:0.2}
max_cpu: 0.2
mem: 128
network:
mode: "container"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http: {}
exec: {}
cmp:
cmd: "/app/cmp"
ports:
- port: 9027
protocol: "TCP"
l4_protocol: "TCP"
resources:
cpu: ${request_cpu:0.2}
max_cpu: 0.2
mem: 128
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http: {}
exec: {}
orchestrator:
cmd: "/app/orchestrator"
ports:
- port: 8081
protocol: "TCP"
l4_protocol: "TCP"
envs:
DEBUG: "false"
TENANT_GROUP_KEY: "58dcbf490ef3"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:256}
max_mem: 256
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 8081
path: "/info"
duration: 120
exec: {}
pipeline:
cmd: "/app/pipeline"
ports:
- port: 3081
protocol: "TCP"
l4_protocol: "TCP"
envs:
DEBUG: "false"
GIT_INNER_USER_NAME: "18000000000"
GIT_INNER_USER_PASSWORD: "123456"
PIPELINE_STORAGE_URL: "file:///devops/storage"
resources:
cpu: ${request_cpu:1}
max_cpu: 1
mem: ${request_mem:1536}
max_mem: 1536
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "devops"
health_check:
http:
port: 3081
path: "/ping"
duration: 120
exec: {}
scheduler:
cmd: "/app/scheduler"
ports:
- port: 9091
protocol: "TCP"
l4_protocol: "TCP"
envs:
CMDB_CONTAINER_TOPIC: "spot-metaserver_container"
CMDB_GROUP: "spot_cmdb_group2"
DEBUG: "false"
resources:
cpu: ${request_cpu:0.3}
max_cpu: 0.3
mem: 128
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "dice"
health_check:
http:
port: 9091
path: "/info"
duration: 120
exec: {}
streaming:
cmd: "/app/streaming"
ports:
- port: 7091
protocol: "TCP"
l4_protocol: "TCP"
- port: 7098
protocol: "TCP"
l4_protocol: "TCP"
envs:
BROWSER_ENABLE: "true"
BROWSER_GROUP_ID: "spot-monitor-browser"
CASSANDRA_BATCH_SIZE: "50"
CASSANDRA_PARALLELISM: "3"
ES_BATCH_SIZE: "50"
ES_PARALLELISM: "3"
KAFKA_BATCH_SIZE: "50"
KAFKA_PARALLELISM: "3"
LOG_GROUP_ID: "spot-monitor-log"
LOG_STORE_ENABLE: "true"
LOG_TTL: "168h"
METRIC_ENABLE: "true"
METRIC_GROUP_ID: "spot-monitor-metrics"
METRIC_INDEX_TTL: "192h"
TRACE_ENABLE: "true"
TRACE_GROUP_ID: "spot-monitor-trace"
TRACE_TTL: "168h"
resources:
cpu: ${request_cpu:1.5}
mem: ${request_mem:1024}
max_cpu: 1.5
max_mem: 1024
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "spot-v2"
health_check:
http:
port: 7091
path: "/api/health"
duration: 120
exec: {}
soldier:
cmd: /app/soldier
ports:
- port: 9028
protocol: TCP
l4_protocol: TCP
expose: true
default: false
envs:
FPS_BACKEND_URL: http://fps:17621
NETDATA_AGENT_PATH: devops/ci/action-agent
NETDATA_CI_PATH: devops/ci/pipelines
NETDATA_REGISTRY_PATH: dice/registry
NETDATA_SQLDATA_PATH: devops/storage
PROXY_SERVICES: fps,territory,troy,zkproxy
TERRITORY_BACKEND_RE: ^territory
TROY_BACKEND_RE: ^troy
ZKPROXY_BACKEND_RE: ^terminus-zkproxy
resources:
cpu: ${request_cpu:0.3}
max_cpu: 0.3
mem: 64
network:
mode: container
binds:
- ${nfs_root:/netdata}:/netdata:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
deployments:
replicas: 1
labels:
GROUP: dice
expose:
- 9028
health_check:
http:
port: 9028
path: /_health_check
duration: 120
exec: {}
uc-adaptor:
cmd: "/app/uc-adaptor"
ports:
- port: 12580
protocol: "TCP"
l4_protocol: "TCP"
expose: true
envs:
DEBUG: "false"
LISTEN_ADDR: ":12580"
UC_AUDITOR_CRON: "0 */1 * * * ?"
UC_AUDITOR_PULL_SIZE: "30"
UC_CLIENT_ID: "dice"
UC_CLIENT_SECRET: "secret"
resources:
cpu: ${request_cpu:0.2}
max_cpu: 0.2
mem: 64
network:
mode: "container"
binds:
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-ca.pem:/certs/etcd-ca.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client.pem:/certs/etcd-client.pem:ro"
- "${nfs_root:/netdata}/dice-ops/dice-config/certificates/etcd-client-key.pem:/certs/etcd-client-key.pem:ro"
deployments:
replicas: 1
labels:
GROUP: "devops"
expose:
- 12580
health_check:
http:
port: 12580
path: "/healthy"
duration: 120
exec: {}
addons:
infos:
plan: "custom:basic"
options:
version: "1.0.0"
mysql:
plan: "mysql:basic"
options:
version: "5.7.29"