Install grafana and link it to HA

This commit is contained in:
Jake Howard
2020-08-07 11:52:15 +01:00
parent 301ac37868
commit 9d014cfa1c
5 changed files with 63 additions and 0 deletions

View File

@ -24,6 +24,11 @@ services:
- ./influxdb:/var/lib/influxdb
ports:
- 127.0.0.1:48086:8086
networks:
default:
grafana:
aliases:
- ha-influxdb
environment:
- INFLUXDB_DB=home_assistant
- INFLUXDB_HTTP_AUTH_ENABLED=
@ -34,3 +39,7 @@ services:
network_mode: host
volumes:
- ./esphome:/config
networks:
grafana:
external: true