2018-09-25 19:03:30 +02:00
|
|
|
homeassistant:
|
2019-06-09 18:30:25 +02:00
|
|
|
auth_providers:
|
|
|
|
- type: command_line
|
2021-11-27 21:51:34 +01:00
|
|
|
command: __DATAPATH__/.__APP__/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-11-27 21:51:34 +01:00
|
|
|
command_on: "nohup bash -c __DATAPATH__/.__APP__/bin/upgrade_homeassistant.sh $1 > /dev/null 2>&1 &"
|
2021-11-20 19:05:14 +01:00
|
|
|
friendly_name: Upgrade Home Assistant
|