-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdocker-compose.yml
199 lines (187 loc) · 4.85 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
version: '2.1'
volumes:
grafana_data: {}
clickhouse_data: {}
services:
grafana:
image: grafana/grafana-oss:10.4.3
container_name: grafana
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
- ./grafana/plugins/k8spacket-nodegraphplugin-datasource:/var/lib/grafana/plugins/k8spacket-nodegraphplugin-datasource
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_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=qxip-flow-panel
- GF_INSTALL_PLUGINS=https://github.com/metrico/grafana-flow/releases/download/v10.0.10/qxip-flow-panel-10.0.10.zip;qxip-flow-panel"
restart: unless-stopped
ports:
- 3000:3000
depends_on:
- clickhouse-server
logging:
options:
max-size: "10m"
clickhouse-server:
image: clickhouse/clickhouse-server:23.3-alpine
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
logging:
options:
max-size: "10m"
qryn:
image: qxip/qryn:latest
container_name: qryn
restart: unless-stopped
expose:
- 3100
ports:
- "3100:3100"
environment:
- CLICKHOUSE_SERVER=clickhouse-server
- CLICKHOUSE_AUTH=qryn:demo
# - LOG_LEVEL=debug
- NODE_OPTIONS="--max-old-space-size=4096"
- ALERTMAN_URL=http://alertman:9093
depends_on:
clickhouse-server:
condition: service_healthy
logging:
options:
max-size: "10m"
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
restart: unless-stopped
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
expose:
- 9100
logging:
options:
max-size: "10m"
vector:
image: timberio/vector:0.31.0-alpine
container_name: vector
restart: unless-stopped
volumes:
- ./vector/vector.toml:/etc/vector/vector.toml:ro
depends_on:
- qryn
logging:
options:
max-size: "10m"
mailhog:
image: mailhog/mailhog:latest
container_name: mailhog
hostname: mailhog
expose:
- 1025
- 8025
# ports:
# - "8025:8025"
logging:
options:
max-size: "10m"
alertman:
image: prom/alertmanager:latest
container_name: alertman
hostname: alertman
volumes:
- ./alertmanager.yml:/etc/alertmanager/alertmanager.yml
expose:
- 9093
ports:
- 9093:9093
logging:
options:
max-size: "10m"
hepgen:
image: qxip/docker-hepgen
container_name: hepgen
environment:
- "HEP_SERVER=heplify-server"
- "HEP_PORT=9060"
- "HEP_PROTO=udp4"
- "LOOP=10"
restart: unless-stopped
depends_on:
- qryn
- clickhouse-server
hepgen-bad:
image: qxip/docker-hepgen
container_name: hepgen-bad
environment:
- "HEP_SERVER=heplify-server"
- "HEP_PORT=9060"
- "HEP_PROTO=udp4"
- "LOOP=1"
- "SLEEP=60"
- "HEP_CONFIG=b2bcall_rtcp_bad.js"
restart: unless-stopped
depends_on:
- qryn
- clickhouse-server
heplify-server:
image: ghcr.io/sipcapture/heplify-server:latest
container_name: heplify-server
ports:
- "9060:9060"
- "9096:9096"
- "9060:9060/udp"
- "9061:9061/tcp"
command:
- './heplify-server'
environment:
- "HEPLIFYSERVER_HEPADDR=0.0.0.0:9060"
- "HEPLIFYSERVER_HEPTCPADDR=0.0.0.0:9061"
- "HEPLIFYSERVER_DBSHEMA=mock"
- "HEPLIFYSERVER_DBDRIVER=mock"
- "HEPLIFYSERVER_DBADDR="
- "HEPLIFYSERVER_LOGLVL=info"
- "HEPLIFYSERVER_LOGSTD=true"
- "HEPLIFYSERVER_PROMADDR=0.0.0.0:9096"
- "HEPLIFYSERVER_DEDUP=false"
- "HEPLIFYSERVER_LOKIURL=http://qryn:3100/loki/api/v1/push"
- "HEPLIFYSERVER_LOKITIMER=1"
- "HEPLIFYSERVER_LOKIIPPORTLABELS=true"
restart: unless-stopped
depends_on:
- qryn
- clickhouse-server
- vector
expose:
- 9060
- 9061
- 9090
- 9096
logging:
options:
max-size: "50m"