2018-09-25 19:03:30 +02:00
|
|
|
homeassistant:
|
2019-06-09 18:30:25 +02:00
|
|
|
auth_providers:
|
|
|
|
- type: command_line
|
2021-12-06 22:22:11 +01:00
|
|
|
command: __DATA_PATH__/bin/ynh_ldap-auth.sh
|
2019-06-09 18:30:25 +02:00
|
|
|
meta: true
|
2018-09-25 19:03:30 +02:00
|
|
|
|
|
|
|
http:
|
|
|
|
server_port: __PORT__
|
|
|
|
use_x_forwarded_for: True
|
|
|
|
trusted_proxies:
|
|
|
|
- 127.0.0.1
|
|
|
|
- ::1
|
2019-06-09 18:30:25 +02:00
|
|
|
|
2020-08-27 20:58:38 +02:00
|
|
|
# Apply default set of integrations
|
|
|
|
default_config:
|
2021-11-20 19:05:14 +01:00
|
|
|
|
|
|
|
# Switches
|
|
|
|
switch:
|
|
|
|
- platform: command_line
|
|
|
|
switches:
|
|
|
|
upgrade_homeassistant:
|
2021-12-06 22:22:11 +01:00
|
|
|
command_on: "nohup bash -c __DATA_PATH__/bin/upgrade_homeassistant.sh $1 > /dev/null 2>&1 &"
|
2021-11-20 19:05:14 +01:00
|
|
|
friendly_name: Upgrade Home Assistant
|