-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
130 lines (128 loc) · 2.93 KB
/
docker-compose.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
version: "3.8"
services:
etcd:
image: gcr.io/etcd-development/etcd:latest
networks:
- net
ports:
- "2379"
- "2380"
command: |-
/usr/local/bin/etcd
--name node1
--advertise-client-urls "http://0.0.0.0:2379"
--listen-client-urls "http://0.0.0.0:2379"
csm:
image: ganache.csm:latest
depends_on:
- etcd
build:
context: .
dockerfile: deploy/csm1.Dockerfile
networks:
- net
ports:
- "41443"
- "3902"
deploy:
restart_policy:
condition: none
entrypoint: |-
/bin/csm
-port 41443
-etcd_server ganache_etcd_1:2379
-client_ca_file /ganache/certs/testca.crt
-tls_cert_file /ganache/certs/csm1.crt
-tls_key_file /ganache/certs/csm1.key
cs:
image: ganache.cacheserver:latest
depends_on:
- csm
build:
context: .
dockerfile: deploy/cs1.Dockerfile
networks:
- net
ports:
- "44443"
- "3902"
deploy:
replicas: 1
restart_policy:
condition: none
entrypoint: |-
/bin/cacheserver
-listen_addr ":44443"
-etcd_server ganache_etcd_1:2379
-csm_server ganache_csm_1:41443
-root_ca_file /ganache/certs/testca.crt
-client_ca_file /ganache/certs/testca.crt
-tls_cert_file /ganache/certs/cs1.crt
-tls_key_file /ganache/certs/cs1.key
cfe:
image: ganache.cfe:latest
depends_on:
- cs
build:
context: .
dockerfile: deploy/cfe1.Dockerfile
networks:
- net
ports:
- "40001"
- "3902"
deploy:
replicas: 1
restart_policy:
condition: none
entrypoint: |-
/bin/cfe
-port 40001
-etcd_server ganache_etcd_1:2379
-root_ca_file /ganache/certs/testca.crt
-tls_cert_file /ganache/certs/cfe1.crt
-tls_key_file /ganache/certs/cfe1.key
client-benchmark:
image: ganache.cfe_bench_test:latest
depends_on:
- cs
build:
context: .
dockerfile: deploy/client-benchmark.Dockerfile
networks:
- net
command: |-
/bin/benchmark_test
-test.bench=CFEGetString
-test.benchmem
-test.benchtime=100x
-cfe_server=ganache_cfe_1:40001
-root_ca_file=/ganache/certs/testca.crt
profiles:
- client-benchmarks
otelcoll:
image: otel/opentelemetry-collector:0.55.0
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./monitoring/otel/otel-collector-config.yaml:/etc/otel-collector-config.yaml
networks:
- net
depends_on:
- jaeger
ports:
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP http receiver
- "55679:55679" # zpages extension
jaeger:
image: jaegertracing/all-in-one:latest
networks:
- net
depends_on:
- cfe
ports:
- "16686:16686"
- "14250"
networks:
net:
driver: bridge