mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
78 lines
1.8 KiB
YAML
78 lines
1.8 KiB
YAML
homeassistant:
|
|
external_url: !secret public_url
|
|
internal_url: !secret private_url
|
|
latitude: !secret home_lat
|
|
longitude: !secret home_long
|
|
elevation: 655
|
|
# unit_system: imperial
|
|
time_zone: !secret home_time_zone
|
|
name: Daddy's House
|
|
currency: USD
|
|
country: !secret home_country
|
|
|
|
# whitelist_external_dirs:
|
|
# - /config/snapshots/
|
|
# - /config/www/audio/
|
|
|
|
media_dirs:
|
|
alarms: /config/www/audio/alarms
|
|
relaxing: /config/www/audio/relaxing
|
|
tts: /config/www/audio/tts
|
|
#local: /media/
|
|
#mnt: /mnt
|
|
#audio: /config/www/audio/
|
|
#snapshots: /config/snapshots/
|
|
|
|
allowlist_external_dirs:
|
|
- /config/tmp/
|
|
- /config/tmp/tts
|
|
- /config/tmp/snapshots/
|
|
- /config/custom_logs/
|
|
#- /config/www/audio/
|
|
#- /config/image/
|
|
|
|
customize: !include_dir_merge_named customizations/entities
|
|
packages: !include_dir_named components/packages
|
|
|
|
auth_providers:
|
|
- type: homeassistant
|
|
- type: trusted_networks
|
|
trusted_networks:
|
|
- 192.168.0.0/23
|
|
- fd00::/8
|
|
- 127.0.0.1
|
|
- ::1
|
|
- 172.21.0.0/24
|
|
|
|
http:
|
|
#ssl_certificate: /ssl/origin.pem
|
|
#ssl_key: /ssl/privkey.pem
|
|
ip_ban_enabled: true
|
|
login_attempts_threshold: 5
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- 192.168.1.0/24
|
|
- 127.0.0.1
|
|
- 172.30.32.0/23
|
|
- 172.16.0.0/12
|
|
- 172.17.0.0/16
|
|
- ::1
|
|
- 172.21.0.145
|
|
|
|
# Add the Cloudflare IPs as trusted proxies https://www.cloudflare.com/ips-v4
|
|
- 173.245.48.0/20
|
|
- 103.21.244.0/22
|
|
- 103.22.200.0/22
|
|
- 103.31.4.0/22
|
|
- 141.101.64.0/18
|
|
- 108.162.192.0/18
|
|
- 190.93.240.0/20
|
|
- 188.114.96.0/20
|
|
- 197.234.240.0/22
|
|
- 198.41.128.0/17
|
|
- 162.158.0.0/15
|
|
- 104.16.0.0/13
|
|
- 104.24.0.0/14
|
|
- 172.64.0.0/13
|
|
- 131.0.72.0/22
|