-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
266 lines (254 loc) · 6.34 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
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
volumes:
grafana_data: {}
clickhouse_data: {}
networks:
qryn-oss:
driver: bridge
services:
grafana:
image: grafana/grafana-oss:10.4.12
container_name: grafana
networks:
- qryn-oss
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
environment:
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
- GF_USERS_ALLOW_SIGN_UP=false
- GF_USERS_DEFAULT_THEME=light
- GF_EXPLORE_ENABLED=true
- GF_ALERTING_ENABLED=false
- GF_UNIFIED_ALERTING_ENABLED=true
- GF_FEATURE_TOGGLES_ENABLE=traceToMetrics,publicDashboards,tempoApmTable
- GF_INSTALL_PLUGINS=grafana-pyroscope-app,https://storage.googleapis.com/integration-artifacts/grafana-lokiexplore-app/grafana-lokiexplore-app-latest.zip;grafana-lokiexplore-app
restart: unless-stopped
ports:
- 3000:3000
depends_on:
- qryn
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
chproxy:
image: contentsquareplatform/chproxy:v1.25.0
container_name: chproxy
networks:
- qryn-oss
volumes:
- ./chproxy/config:/config
- ./chproxy/cache:/data/cache
ports:
- 9001:9001
command: -config /config/config.yaml
depends_on:
clickhouse-server:
condition: service_healthy
healthcheck:
test: curl 'http://127.0.0.1:9001/metrics'
interval: 2s
timeout: 20s
retries: 10
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
clickhouse-server:
image: clickhouse/clickhouse-server:24.1
container_name: clickhouse-server
hostname: clickhouse
restart: unless-stopped
networks:
- qryn-oss
volumes:
- clickhouse_data:/var/lib/clickhouse
- ./clickhouse/opentelemetry_zipkin.sql:/docker-entrypoint-initdb.d/opentelemetry_zipkin.sql
environment:
- CLICKHOUSE_USER=qryn
- CLICKHOUSE_PASSWORD=demo
ports:
- 8123:8123
- 9000:9000
healthcheck:
test: ['CMD', 'wget', '--spider', '-q', '127.0.0.1:8123/ping']
interval: 1s
timeout: 1s
retries: 30
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
qryn:
image: qxip/qryn:latest
container_name: qryn
hostname: qryn
pull_policy: always
restart: unless-stopped
networks:
- qryn-oss
expose:
- 3100
ports:
- "3100:3100"
environment:
- CLICKHOUSE_SERVER=clickhouse-server
- CLICKHOUSE_PORT=8123
- CLICKHOUSE_AUTH=qryn:demo
- CLICKHOUSE_DB=qryn
- NODE_OPTIONS="--max-old-space-size=4096"
- ALERTMAN_URL=http://alertman:9093
- FASTIFY_METRICS=true
depends_on:
chproxy:
condition: service_healthy
clickhouse-server:
condition: service_healthy
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
vector:
image: timberio/vector:latest-alpine
container_name: vector
restart: unless-stopped
networks:
- qryn-oss
volumes:
- ./vector/vector.toml:/etc/vector/vector.toml:ro
depends_on:
- qryn
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
exporter:
build: ./dummy-exporter
container_name: exporter
restart: unless-stopped
networks:
- qryn-oss
ports:
- "9090:8080"
depends_on:
- qryn
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
dummy-server:
build: ./dummy-server
container_name: dummy-server
restart: unless-stopped
networks:
- qryn-oss
ports:
- 4000:4000
- 80:80
depends_on:
- qryn
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
mailhog:
image: mailhog/mailhog:latest
container_name: mailhog
hostname: mailhog
networks:
- qryn-oss
expose:
- 1025
- 8025
ports:
- "8025:8025"
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
alertman:
image: prom/alertmanager:latest
container_name: alertman
hostname: alertman
networks:
- qryn-oss
volumes:
- ./alertmanager.yml:/etc/alertmanager/alertmanager.yml
expose:
- 9093
ports:
- 9093:9093
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
otel-collector:
container_name: otel-collector
hostname: otel-collector
image: ghcr.io/metrico/qryn-otel-collector:0.0.5
networks:
- qryn-oss
volumes:
- ./otel/otel-collector-config.yaml:/etc/otel/config.yaml
ports:
- "3200:3100" # Loki/Logql HTTP receiver
- "3201:3200" # Loki/Logql gRPC receiver
- "8088:8088" # Splunk HEC receiver
- "5514:5514" # Syslog TCP Rereceiverceiver
- "24224:24224" # Fluent Forward receiver
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
- "14250:14250" # Jaeger gRPC receiver
- "14268:14268" # Jaeger thrift HTTP receiver
- "9411:9411" # Zipkin Trace receiver
- "11800:11800" # Skywalking gRPC receiver
- "12800:12800" # Skywalking HTTP receiver
- "8086:8086" # InfluxDB Line proto HTTP
- "8062:8062" # Pyroscope jprof
restart: on-failure
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"
alloy:
privileged: true
image: grafana/alloy:latest
container_name: alloy
pull_policy: always
restart: on-failure
networks:
- qryn-oss
volumes:
- ./alloy/config.alloy:/etc/alloy/config.alloy
environment:
REMOTE_WRITE_HOST: qryn:3100
LOKI_HOST: qryn:3100
TEMPO_HOST: http://qryn:3100
PYROSCOPE_HOST: otel-collector:8062
depends_on:
- qryn
- otel-collector
command:
- run
- /etc/alloy/config.alloy
- --storage.path=/var/lib/alloy/data
- --server.http.listen-addr=0.0.0.0:12345
- --stability.level=experimental # Enable all functionality
ports:
- "12345:12345"
logging:
driver: "local"
options:
max-size: "10m"
max-file: "5"