-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.bak
326 lines (306 loc) · 8.24 KB
/
docker-compose.yml.bak
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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
version: '3'
networks:
monitor-net:
driver: bridge
volumes:
prometheus_data: {}
grafana_data: {}
loki_data: {}
influxdb_data: {}
services:
processexporter:
image: ncabatoff/process-exporter
container_name: processexporter
privileged: true
restart: unless-stopped
volumes:
- /proc:/host/proc
- ./process_exporter/:/config/
command:
- '--procfs=/host/proc'
- '-config.path=/config/process-exporter.yml'
expose:
- 9256
ports:
- "9256:9256"
networks:
- monitor-net
portainer:
image: portainer/portainer
container_name: portainer
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "9999:9000"
networks:
- monitor-net
prometheus:
image: prom/prometheus:latest
container_name: prometheus
restart: unless-stopped
volumes:
- ./prometheus/:/etc/prometheus/
- prometheus_data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.retention=200h'
- '--web.enable-lifecycle'
expose:
- 9090
ports:
- "9090:9090"
networks:
- monitor-net
nodeexporter:
image: prom/node-exporter:latest
container_name: nodeexporter
user: root
privileged: true
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)'
restart: unless-stopped
expose:
- 9100
ports:
- "9100:9100"
networks:
- monitor-net
snmp-exporter:
image: prom/snmp-exporter
container_name: snmpexporter
restart: unless-stopped
volumes:
- ./snmp_exporter/:/etc/snmp_exporter/
expose:
- 9116
ports:
- "9116:9116"
networks:
- monitor-net
blackbox-exporter:
image: prom/blackbox-exporter:latest
container_name: blackboxexporter
restart: unless-stopped
command:
- '--config.file=/config/blackbox.yml'
volumes:
- ./blackbox_exporter/:/config/
expose:
- 9115
ports:
- "9115:9115"
networks:
- monitor-net
# alertmanager:
# image: prom/alertmanager
# container_name: alertmanager
# volumes:
# - ./alertmanager/:/etc/alertmanager/
# command:
# - '--config.file=/etc/alertmanager/config-email.yml'
# - '--storage.path=/alertmanager'
# - '--web.listen-address=0.0.0.0:9093'
# restart: unless-stopped
# ports:
# - "9093:9093"
# networks:
# - monitor-net
cadvisor:
image: google/cadvisor:latest
container_name: cadvisor
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
restart: unless-stopped
expose:
- 8080
ports:
- 8080:8080
networks:
- monitor-net
grafana:
image: grafana/grafana:latest
container_name: grafana
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/datasources:/etc/grafana/datasources
- ./grafana/dashboards:/etc/grafana/dashboards
- ./grafana/setup.sh:/etc/grafana/setup.sh
entrypoint: /etc/grafana/setup.sh
environment:
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-Passw0rd}
- GF_USERS_ALLOW_SIGN_UP=false
- GF_INSTALL_PLUGINS=magnesium-wordcloud-panel
restart: unless-stopped
expose:
- 3000
ports:
- 3000:3000
networks:
- monitor-net
pushgateway:
image: prom/pushgateway:latest
container_name: pushgateway
restart: unless-stopped
expose:
- 9091
ports:
- 9091:9091
networks:
- monitor-net
vmware-exporter:
image: devinotelecom/prometheus-vmware-exporter:latest
container_name: vmware-exporter
restart: unless-stopped
environment:
- 'ESX_HOST=192.168.130.51'
- 'ESX_USERNAME=root'
- 'ESX_PASSWORD=P@ssw0rd'
expose:
- 9512
ports:
- 9512:9512
networks:
- monitor-net
telegraf:
image: telegraf:latest
container_name: telegraf
restart: unless-stopped
volumes:
- ./telegraf/:/etc/telegraf/:ro
- /usr/share/snmp/mibs/:/usr/share/snmp/mibs/
- /var/lib/snmp/mibs/iana/:/usr/share/snmp/mibs/iana/
- /var/lib/snmp/mibs/ietf/:/usr/share/snmp/mibs/ietf/
extra_hosts:
- "vault.esma.europa.eu:51.105.229.179"
- "trace.esma.europa.eu:51.105.229.179"
- "cerep.esma.europa.eu:51.105.229.179"
- "difea.esma.europa.eu:51.105.229.179"
- "registers.esma.europa.eu:51.105.229.179"
- "risks.esma.europa.eu:51.105.229.179"
- "saris.esma.europa.eu:51.105.229.179"
- "hubde.esma.europa.eu:51.105.229.179"
- "hub.esma.europa.eu:51.105.229.180"
- "hubex.esma.europa.eu:51.105.229.180"
- "aaasfa.esma.europa.e:51.105.229.181"
- "aaa.esma.europa.eu:51.105.229.181"
expose:
- 9273
ports:
- 9273:9273
networks:
- monitor-net
influxdb:
image: influxdb:latest
container_name: influxdb
restart: unless-stopped
volumes:
- influxdb_data:/var/lib/influxdb
# - ./influxdb/:/etc/influxdb/:ro
expose:
- 8086
- 8082
- 8089
# - 8083
ports:
- 8086:8086
- 8082:8082
- 8089:8089
# - 8083:8083
networks:
- monitor-net
loki:
image: grafana/loki:latest
container_name: loki
restart: unless-stopped
volumes:
- loki_data:/loki
- ./loki/config-loki.yml:/etc/loki/local-config.yml
expose:
- 3100
ports:
- 3100:3100
networks:
- monitor-net
promtail:
image: grafana/promtail:latest
container_name: promtail
volumes:
- ./promtail/config-promtail.yml:/etc/promtail/local-config.yaml
entrypoint: /usr/bin/promtail -config.file=/etc/promtail/local-config.yaml
expose:
- 9080
- 1514
ports:
- 9080:9080
- 1514:1514
networks:
- monitor-net
syslog-ng:
image: balabit/syslog-ng:latest
container_name: syslog-ng
restart: unless-stopped
privileged: true
volumes:
- "./syslog-ng/logs:/var/log/syslog-ng"
- "./syslog-ng/socket:/var/run/syslog-ng"
- "./syslog-ng/config/:/etc/syslog-ng"
expose:
- 514
- 601
- 6514
ports:
- protocol: udp
published: 514
target: 514
- 601:601
- 6514:6514
networks:
- monitor-net
# nfcolector:
# image: javadmohebbi/gonfcollector
# container_name: nfcollector
# restart: unless-stopped
# # network_mode: host
# networks:
# - monitor-net
# expose:
# - 6859/udp
# ports:
# - protocol: udp
# published: 6859
# target: 6859
# volumes:
# - /home/promgraf/oi24/nfcollector/bin:/opt/nfcollector/bin
# # - /home/promgraf/oi24/nfcollector/etc:/opt/nfcollector/etc
# - /home/promgraf/oi24/nfcollector/var:/opt/nfcollector/var
# - /home/promgraf/oi24/nfcollector/vendors:/opt/nfcollector/vendors
# environment:
# - NFC_DEBUG=true
# # total number of cpu nfcollector could use
# - NFC_CPU_NUM=0
# - NFC_LISTEN_ADDRESS=0.0.0.0
# - NFC_LISTEN_PORT=6859
# - NFC_INFLUXDB_HOST=127.0.0.1
# - NFC_INFLUXDB_PORT=8086
# - NFC_INFLUXDB_TOKEN=5vqt0q0b4g_lZwNgp7-8GgPq5Nxf3YY37xbVZP_ypeK_G3dwdNlTrAkcKN_Q6QzbmG-Th96lT_65Kp0j2UD1HA==
# - NFC_INFLUXDB_BUCKET=nfCollector
# - NFC_INFLUXDB_ORG=OPENINTELLIGENCE
# - NFC_IP_REPTATION_IPSUM=/opt/nfcollector/vendors/ipsum/ipsum.txt
# - NFC_IP2L_ASN=/opt/nfcollector/vendors/ip2location/db/IP2LOCATION-LITE-ASN.IPV6.CSV/IP2LOCATION-LITE-ASN.IPV6.CSV
# - NFC_IP2L_IP=/opt/nfcollector/vendors/ip2location/db/IP2LOCATION-LITE-DB11.IPV6.BIN/IP2LOCATION-LITE-DB11.IPV6.BIN
# - NFC_IP2L_PROXY=/opt/nfcollector/vendors/ip2location/db/IP2PROXY-LITE-PX10.IPV6.CSV/IP2PROXY-LITE-PX10.IPV6.CSV
# - NFC_IP2L_LOCAL=/opt/nfcollector/vendors/ip2location/local-db/local.csv