/
docker-compose.yml
71 lines (71 loc) · 1.52 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
version: "2"
services:
grafana:
image: grafana/grafana
container_name: grafana
env_file:
- 'env.grafana'
restart: always
ports:
- 3000:3000
networks:
- monitoring
volumes:
- grafana-volume:/var/lib/grafana
influxdb:
image: influxdb
container_name: influxdb
restart: always
ports:
- 8086:8086
networks:
monitoring:
aliases:
- influxdb
volumes:
- influxdb-volume:/var/lib/influxdb
nodered:
build: .
container_name: mynodered
restart: always
ports:
- "1880:1880"
networks:
- monitoring
volumes:
- nodered-volume:/data
unifi:
image: golift/unifi-poller:stable
container_name: unifi-poller
restart: always
networks:
- monitoring
volumes:
- ./unifi-poller/up.conf:/etc/unifi-poller/up.conf
telegraf-snmp:
image: inetsix/telegraf-snmp
container_name: telegraf-snmp
restart: always
networks:
- monitoring
volumes:
- ./telegraf-snmp/telegraf.config:/etc/telegraf/telegraf.conf
cadvisor:
container_name: cadvisor
restart: always
image: google/cadvisor:latest
volumes:
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
command: -storage_driver=influxdb -storage_driver_db=cadvisor -storage_driver_host=influxdb:8086
ports:
- 8080:8080
networks:
- monitoring
networks:
monitoring:
volumes:
grafana-volume: {}
influxdb-volume: {}
nodered-volume: {}