forked from gigapipehq/gigapipe-oss-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
157 lines (145 loc) · 3.98 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
version: '2.1'
volumes:
grafana_data: {}
clickhouse_data: {}
services:
grafana:
image: grafana/grafana-oss:10.2.2
container_name: grafana
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
restart: unless-stopped
ports:
- 3000:3000
depends_on:
- qryn
chproxy:
image: contentsquareplatform/chproxy:v1.25.0
container_name: chproxy
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
clickhouse-server:
image: clickhouse/clickhouse-server:22.9
container_name: clickhouse-server
restart: unless-stopped
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
qryn:
image: qxip/qryn:latest
container_name: qryn
restart: unless-stopped
expose:
- 3100
ports:
- "3100:3100"
environment:
- CLICKHOUSE_SERVER=chproxy
- CLICKHOUSE_PORT=9001
- CLICKHOUSE_AUTH=qryn:demo
# - LOG_LEVEL=debug
- 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
vector:
image: timberio/vector:latest-alpine
container_name: vector
restart: unless-stopped
volumes:
- ./vector/vector.toml:/etc/vector/vector.toml:ro
depends_on:
- qryn
exporter:
build: ./dummy-exporter
container_name: exporter
restart: unless-stopped
ports:
- "9090:8080"
depends_on:
- qryn
dummy-server:
build: ./dummy-server
container_name: dummy-server
restart: unless-stopped
ports:
- 4000:4000
- 80:80
depends_on:
- qryn
mailhog:
image: mailhog/mailhog:latest
container_name: mailhog
hostname: mailhog
expose:
- 1025
- 8025
ports:
- "8025:8025"
alertman:
image: prom/alertmanager:latest
container_name: alertman
hostname: alertman
volumes:
- ./alertmanager.yml:/etc/alertmanager/alertmanager.yml
expose:
- 9093
ports:
- 9093:9093
otel-collector:
container_name: otel-collector
image: ghcr.io/metrico/qryn-otel-collector:latest
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
restart: on-failure