-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 866 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) · 866 Bytes
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
version: '2'
services:
influxdb:
image: "hypriot/rpi-influxdb"
volumes:
- ./data/influxdb:/data
ports:
- "8086:8086"
restart: always
environment:
- PRE_CREATE_DB="telegraf"
telegraf:
image: "arm32v7/telegraf"
volumes:
- ./etc/telegraf.conf:/etc/telegraf/telegraf.conf:ro
ports:
- "8092:8092/udp"
- "8094:8094"
- "8125:8125/udp"
- "6514:514/udp"
restart: always
extra_hosts:
- "router:10.0.0.1"
- "wifi:10.0.0.2"
links:
- influxdb
grafana:
image: "fg2it/grafana-armhf:v5.1.4"
volumes:
- grafana-data:/var/lib/grafana
ports:
- "3000:3000"
restart: always
environment:
- GF_INSTALL_PLUGINS=natel-plotly-panel,grafana-simple-json-datasource,natel-discrete-panel
links:
- influxdb
volumes:
grafana-data: