-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfiguration.yaml
29 lines (24 loc) · 1 KB
/
configuration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This is not a docker-compose file, it is a Home Assistant configuration file
# https://www.home-assistant.io/docs/configuration/basic/
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor:
# The below sensor is if you are using the qbittorrent+gluetun stack.
- platform: command_line
name: qBittorrent Public IP
command: 'docker exec qbittorrent curl -s ifconfig.me'
scan_interval: 1800
# command: 'docker inspect -f "{{.State.Running}}" qb_qbittorrent | grep -q true && (docker exec qb_qbittorrent curl -s ifconfig.me) || echo "> scan_interval: 1800
# Trust the IP address of the reverse proxy
# These are generic examples, make sure to update them with the IP address of your reverse proxy
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.1.11
- 192.168.1.12