forked from prahaladramji/synology-prometheus
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
88 lines (80 loc) · 2.09 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
version: '3.3'
services:
grafana:
image: grafana/grafana
container_name: grafana
restart: always
links:
- prometheus
ports:
- "3000:3000"
volumes:
- ${PROMETHEUS_ROOT}/configs/grafana.ini:/etc/grafana/grafana.ini
- ${PROMETHEUS_ROOT}/data/grafana:/var/lib/grafana
prometheus:
image: prom/prometheus
container_name: prometheus
restart: always
links:
- alertmanager
- speedtest-exporter
- fritzbox-exporter
- mlab-exporter
# - speedtest-exporter
# - node-exporter
ports:
- "9090:9090"
volumes:
- ${PROMETHEUS_ROOT}/configs/prometheus.yml:/etc/prometheus/prometheus.yml
- ${PROMETHEUS_ROOT}/data/prometheus:/prometheus
alertmanager:
image: prom/alertmanager
container_name: alertmanager
restart: always
ports:
- "9093:9093"
volumes:
- ${PROMETHEUS_ROOT}/data/alertmanager:/alertmanager
fritzbox-exporter:
privileged: true
image: mxschmitt/fritzbox_exporter
container_name: fritzbox_exporter
restart: always
ports:
- "9133:9133"
volumes:
- /volume1/docker/prometheus/data/fritzbox:/fritzbox
mlab-exporter:
privileged: true
image: wlbr/mlab-exporter
container_name: mlab_exporter
restart: always
ports:
- "9122:9122"
volumes:
- /volume1/docker/prometheus/data/mlab:/mlab
# node-exporter:
# privileged: true
# image: prom/node-exporter
# container_name: node-exporter
# restart: always
# ports:
# - "9100:9100"
# 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"
# - "^/(rootfs/)?(dev|etc|host|proc|run|sys|volume1)($$|/)"
# speedtest-exporter:
# privileged: true
# image: tnwhitwell/speedtest_exporter
# container_name: speedtest_exporter
# restart: always
# ports:
# - "9112:9112"
# volumes:
# - ${PROMETHEUS_ROOT}/data/speedtest:/speedtest