Add grafana, influx, hacs
This commit is contained in:
parent
71e061c745
commit
460b1d2937
@ -20,6 +20,19 @@ logger:
|
||||
default: info
|
||||
logs:
|
||||
homeassistant.components.http.view: warn
|
||||
influxdb:
|
||||
host: influx
|
||||
username: hass
|
||||
password: hass
|
||||
database: hass
|
||||
|
||||
homekit:
|
||||
ip_address: !secret host_ip
|
||||
auto_start: false
|
||||
filter:
|
||||
include_domains:
|
||||
- light
|
||||
- switch
|
||||
|
||||
http:
|
||||
# mydomain.com:443 - proxied by nginx to port 8123
|
||||
@ -33,6 +46,11 @@ stream:
|
||||
|
||||
python_script:
|
||||
|
||||
hacs:
|
||||
token: !secret hacs_token
|
||||
|
||||
lovelace_gen:
|
||||
|
||||
automation:
|
||||
- alias: Hallampa på
|
||||
initial_state: true
|
||||
@ -47,6 +65,13 @@ automation:
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.stora_hallen
|
||||
- alias: Start homekit
|
||||
trigger:
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
action:
|
||||
- delay: 00:05
|
||||
- service: homekit.start
|
||||
|
||||
browser_mod:
|
||||
devices:
|
||||
|
@ -66,6 +66,30 @@ services:
|
||||
MYSQL_PASSWORD: hass
|
||||
# The following value is overridden in docker-compose.override.yml
|
||||
MYSQL_ROOT_PASSWORD: secret
|
||||
influx:
|
||||
container_name: InfluxDB
|
||||
image: influxdb
|
||||
restart: always
|
||||
volumes:
|
||||
- /root/docker/influxdb:/var/lib/influxdb
|
||||
environment:
|
||||
TZ: Europe/Stockholm
|
||||
INFLUXDB_DB: hass
|
||||
INFLUXDB_USER: hass
|
||||
INFLUXDB_USER_PASSWORD: hass
|
||||
|
||||
grafana:
|
||||
container_name: Grafana
|
||||
image: grafana/grafana
|
||||
restart: always
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- /root/docker/grafana:/var/lib/grafana
|
||||
user: "0"
|
||||
environment:
|
||||
TZ: Europe/Stockholm
|
||||
|
||||
|
||||
mosquitto:
|
||||
container_name: Mosquitto
|
||||
@ -90,9 +114,12 @@ services:
|
||||
- "8123:8123"
|
||||
volumes:
|
||||
- /root/docker/hass/home-assistant:/config
|
||||
working_dir: /config
|
||||
environment:
|
||||
TZ: Europe/Stockholm
|
||||
XDG_CACHE_HOME: /config/.data
|
||||
PIP_USER: "yes"
|
||||
PYTHONUSERBASE: /config/.local
|
||||
|
||||
appdaemon:
|
||||
container_name: AppDaemon
|
||||
|
Loading…
x
Reference in New Issue
Block a user