forked from Brandawg93/Pi-Hole-Monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (53 loc) · 1.1 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
version: '3'
services:
sql_influx:
container_name: sql_influx
build: ./sql_influx
command: python main.py
environment:
- PYTHONUNBUFFERED=1
depends_on:
- influxdb
networks:
- influxdb
volumes:
- /etc/pihole/:/etc/pihole
restart: unless-stopped
telegraf:
image: telegraf:latest
container_name: telegraf
depends_on:
- influxdb
networks:
- influxdb
volumes:
- ./telegraf:/etc/telegraf
restart: always
influxdb:
image: influxdb:latest
container_name: influxdb
networks:
influxdb:
volumes:
- influxdb-storage:/var/lib/influxdb
restart: unless-stopped
grafana:
image: grafana/grafana:latest
container_name: grafana
depends_on:
- influxdb
ports:
- 3000:3000
networks:
- influxdb
environment:
- GF_INSTALL_PLUGINS=grafana-piechart-panel
volumes:
- grafana-storage:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
restart: unless-stopped
volumes:
grafana-storage:
influxdb-storage:
networks:
influxdb: