forked from jasonacox/Powerwall-Dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
powerwall.yml
98 lines (93 loc) · 2.51 KB
/
powerwall.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: "3.5"
services:
influxdb:
image: influxdb:1.8
container_name: influxdb
hostname: influxdb
restart: always
volumes:
- type: bind
source: ./influxdb.conf
target: /etc/influxdb/influxdb.conf
read_only: true
- type: bind
source: ./influxdb
target: /var/lib/influxdb
ports:
- target: 8086
published: 8086
mode: host
pypowerwall:
image: jasonacox/pypowerwall:0.6.2t26
container_name: pypowerwall
hostname: pypowerwall
restart: always
user: "1000:1000"
ports:
- target: 8675
published: 8675
mode: host
env_file:
- pypowerwall.env
telegraf:
image: telegraf:1.26.1
container_name: telegraf
hostname: telegraf
restart: always
user: "1000:1000"
command: [
"telegraf",
"--config",
"/etc/telegraf/telegraf.conf",
"--config-directory",
"/etc/telegraf/telegraf.d"
]
volumes:
- type: bind
source: ./telegraf.conf
target: /etc/telegraf/telegraf.conf
read_only: true
- type: bind
source: ./telegraf.local
target: /etc/telegraf/telegraf.d/local.conf
read_only: true
depends_on:
- influxdb
- pypowerwall
grafana:
image: grafana/grafana:9.1.2-ubuntu
container_name: grafana
hostname: grafana
restart: always
user: "${GRAFANAUSER}"
volumes:
- type: bind
source: ./grafana
target: /var/lib/grafana
ports:
- target: 9000
published: 9000
mode: host
env_file:
- grafana.env
depends_on:
- influxdb
weather411:
image: jasonacox/weather411:0.2.1
container_name: weather411
hostname: weather411
restart: always
user: "1000:1000"
volumes:
- type: bind
source: ./weather
target: /var/lib/weather
read_only: true
ports:
- target: 8676
published: 8676
mode: host
environment:
- WEATHERCONF=/var/lib/weather/weather411.conf
depends_on:
- influxdb