-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
51 lines (48 loc) · 1.34 KB
/
compose.yaml
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
version: '3.7'
services:
influxdb:
container_name: influx
image: influxdb:1.8
volumes:
- ${INFLUX_DB_HOME:-/home/pi/influxdb/}data:/var/lib/influxdb
- ${INFLUX_DB_HOME:-/home/pi/influxdb/}config/influxdb.conf:/etc/influxdb/influxdb.conf:ro
- ${INFLUX_DB_HOME:-/home/pi/influxdb/}backup/:/backup
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- target: 8086
published: 8086
protocol: tcp
mode: host
- target: 8083
published: 8083
protocol: tcp
mode: host
command:
- '--config=/etc/influxdb/influxdb.conf'
restart: always
grafana:
container_name: grafana
image: grafana/grafana
network_mode: host
volumes:
- ${GRAFANA_HOME:-/home/pi/grafana/}data:/var/lib/grafana
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
user: ${UID:-1000}
restart: always
wunder-ground-god:
container_name: godfather
image: pendl2/wunder-ground-god:1.0.0
restart: always
network_mode: host
environment:
- API.KEY=<place here the api key>
- DEVICE.ID=<place here the device id>
- POLL.TIME.MS=60000
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
- influxdb
- grafana