forked from michael.heier/umbrel-apps
Tweak home-assistant config for reverse proxy
This commit is contained in:
parent
63f02f05a1
commit
bb154455e2
6
home-assistant/configuration.yaml.template
Normal file
6
home-assistant/configuration.yaml.template
Normal file
|
@ -0,0 +1,6 @@
|
|||
default_config:
|
||||
|
||||
http:
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
- $NETWORK_IP/16
|
|
@ -10,6 +10,7 @@ services:
|
|||
image: homeassistant/home-assistant:2021.12.0@sha256:116f78d5cf48c4b1adcb3eb665885cb0d14dc0156e9291015ca6fbce13540ff5
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data:/config
|
||||
- ${APP_DATA_DIR}/configuration.yaml:/config/configuration.yaml
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: $APP_HOME_ASSISTANT_IP
|
||||
|
|
Loading…
Reference in New Issue
Block a user