-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
55 lines (51 loc) · 1.31 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
52
53
54
55
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
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
user: ${UID:-1000}
restart: always
fronius-reader:
container_name: fronius
image: pendl2/fronius-reader:1.0.5
restart: always
network_mode: host
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
- influxdb
- grafana
em-reader:
container_name: energy
image: pendl2/shelly-em-reader:1.0.4
restart: always
network_mode: host
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
- influxdb
- grafana