-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.yaml
40 lines (39 loc) · 1.18 KB
/
docker-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
version: '3.4'
services:
loader:
image: "victronenergy/venus-influx-loader:1.4"
command: [ "bin/venus-influx-loader", "--enable-discovery-api" ]
ports:
- "8088:8088"
volumes:
- "config-storage:/config"
browser:
image: "victronenergy/venus-influx-loader:1.4"
command: [ "bin/venus-upnp-browser", "--discovery-api", "http://localhost:8088/discovery-api/" ]
# `network_mode: host` is required for the `venus-upnp-browser` to access your host network
# and audo discover Venus devices.
network_mode: host
influxdb:
image: "influxdb:1.8"
ports:
- "8086:8086"
volumes:
- "influxdb-storage:/var/lib/influxdb"
environment:
- INFLUXDB_HTTP_LOG_ENABLED=false
grafana:
image: "victronenergy/venus-grafana:1.4"
volumes:
- "grafana-storage:/var/lib/grafana"
ports:
- "3000:3000"
environment:
- VIL_INFLUXDB_URL=http://influxdb:8086
- VIL_GRAFANA_API_URL=http://loader:8088/grafana-api
# specify URL that should be listed on Welcome dashboard
# to acess Venus Influx Loader Admin UI
- VIL_PUBLIC_URL=http://localhost:8088/
volumes:
influxdb-storage:
grafana-storage:
config-storage: