-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
39 lines (37 loc) · 1022 Bytes
/
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
# To execute this docker-compose yml file use `docker-compose -f <file_name> up`
# Add the `-d` flag at the end for detached execution
version: "3"
services:
grafana:
image: grafana/grafana
container_name: grafana
volumes:
- /mnt/user/appdata/grafana:/var/lib/grafana
ports:
- "3000:3000"
depends_on:
- influxdb
influxdb:
image: influxdb:1.8
container_name: influxdb
volumes:
- ./influxdb.conf:/etc/influxdb/influxdb.conf
- ./types.db:/usr/share/collectd/types.db
- /mnt/user/appdata/influxdb:/var/lib/influxdb
ports:
- "8086:8086"
- "25826:25826/udp"
collectd:
image: jammsen/collectd-fritzbox:latest
network_mode: host
container_name: collectd-fritzbox
environment:
- TIMEZONE=Europe/Berlin
- CheckInterval=3
- InfluxDbIp=10.0.0.10
- InfluxDbCollectdPort=25826
- FritzBoxIp=10.0.0.1
- FritzBoxUser=collectd
- FritzBoxPassword=123collectd
depends_on:
- influxdb