-
Notifications
You must be signed in to change notification settings - Fork 16
/
compose.yml
61 lines (54 loc) · 1.07 KB
/
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
version: '3'
networks:
prometheus:
driver: overlay
services:
prometheus:
image: localhost:5000/prometheus
ports:
- '9090:9090'
networks:
- prometheus
grafana:
image: grafana/grafana
ports:
- '3000:3000'
networks:
- prometheus
node-exporter:
image: prom/node-exporter
deploy:
mode: global
ports:
- '9100:9100'
volumes:
- '/proc:/host/proc'
- '/sys:/host/sys'
- '/:/rootfs'
command:
- '-collector.procfs=/host/proc'
- '-collector.sysfs=/host/proc'
- '-collector.filesystem.ignored-mount-points="^/(sys|proc|dev|host|etc)($$|/)"'
networks:
- prometheus
cadvisor:
image: google/cadvisor:latest
deploy:
mode: global
ports:
- '8080:8080'
volumes:
- '/:/rootfs'
- '/var/run:/var/run'
- '/sys:/host/sys'
- '/var/lib/docker:/var/lib/docker'
networks:
- prometheus
engine-proxy:
image: basi/socat
deploy:
mode: global
ports:
- 4998:4999
networks:
- prometheus