-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-base.yml
184 lines (176 loc) · 4.58 KB
/
docker-compose-base.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
volumes:
grafana_data: {}
clickhouse_data: {}
networks:
qryn-oss:
driver: bridge
services:
grafana:
image: grafana/grafana-oss:11.2.3
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
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"
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"