edited app server port to 8209

This commit is contained in:
Falk Heiland 2024-02-13 21:34:26 +01:00
parent 1e27ea0228
commit 5bc0a7f07d
4 changed files with 15 additions and 13 deletions

View File

@ -1,4 +1,3 @@
# Loads default set of integrations. Do not remove. # Loads default set of integrations. Do not remove.
default_config: default_config:
@ -11,6 +10,7 @@ script: !include scripts.yaml
scene: !include scenes.yaml scene: !include scenes.yaml
http: http:
server_port: 8209
use_x_forwarded_for: true use_x_forwarded_for: true
trusted_proxies: trusted_proxies:
- 127.0.0.1 - 127.0.0.1

View File

@ -18,7 +18,7 @@ services:
# Main # Main
traefik.enable: true traefik.enable: true
traefik.http.middlewares.homeassistant-web-redirect.redirectscheme.scheme: https traefik.http.middlewares.homeassistant-web-redirect.redirectscheme.scheme: https
traefik.http.services.homeassistant.loadbalancer.server.port: 8123 traefik.http.services.homeassistant.loadbalancer.server.port: 8209
# Web # Web
traefik.http.routers.homeassistant-insecure.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.homeassistant-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.homeassistant-insecure.entrypoints: web traefik.http.routers.homeassistant-insecure.entrypoints: web

View File

@ -20,11 +20,12 @@ This version of Home Assistant can be exposed. To migrate from the non-exposable
- add the following section to `runtipi/app-data/homeassistant/data/config/configuration.yaml` - add the following section to `runtipi/app-data/homeassistant/data/config/configuration.yaml`
``` ```
http: http:
use_x_forwarded_for: true server_port: 8209
trusted_proxies: use_x_forwarded_for: true
- 127.0.0.1 trusted_proxies:
- 172.16.0.0/12 - 127.0.0.1
- ::1 - 172.16.0.0/12
- ::1
``` ```
- change `APP_ID=homeassistant` to `APP_ID=homeassistant-1` in `runtipi/app-data/homeassistant/app.env` - change `APP_ID=homeassistant` to `APP_ID=homeassistant-1` in `runtipi/app-data/homeassistant/app.env`
- change `APP_PORT=8123` to `APP_PORT=8209` in `runtipi/app-data/homeassistant/app.env` - change `APP_PORT=8123` to `APP_PORT=8209` in `runtipi/app-data/homeassistant/app.env`

View File

@ -22,11 +22,12 @@ This version of Home Assistant can not be exposed. To migrate to the exposable a
- add the following section to `runtipi/app-data/homeassistant/data/config/configuration.yaml` - add the following section to `runtipi/app-data/homeassistant/data/config/configuration.yaml`
``` ```
http: http:
use_x_forwarded_for: true server_port: 8209
trusted_proxies: use_x_forwarded_for: true
- 127.0.0.1 trusted_proxies:
- 172.16.0.0/12 - 127.0.0.1
- ::1 - 172.16.0.0/12
- ::1
``` ```
- change `APP_ID=homeassistant` to `APP_ID=homeassistant-1` in `runtipi/app-data/homeassistant/app.env` - change `APP_ID=homeassistant` to `APP_ID=homeassistant-1` in `runtipi/app-data/homeassistant/app.env`
- change `APP_PORT=8123` to `APP_PORT=8209` in `runtipi/app-data/homeassistant/app.env` - change `APP_PORT=8123` to `APP_PORT=8209` in `runtipi/app-data/homeassistant/app.env`