feat: configure ingress support

This commit is contained in:
Tobias Glatthar
2024-11-30 17:22:57 +01:00
parent 2df3b21162
commit 8785b68101
6 changed files with 7 additions and 16 deletions

View File

@@ -11,16 +11,15 @@ arch:
- aarch64
- amd64
- armv7
webui: http://[HOST]:[PORT:8482]/
ingress: true
ingress_port: 0
map:
- addon_config:rw
options:
app_log_level: info
disable_log_colors: false
web_port: 8482
mdns_network_interface: ""
schema:
app_log_level: list(silly|debug|info|warn|error)
disable_log_colors: bool
web_port: int(1,)
mdns_network_interface: "str?"

View File

@@ -4,6 +4,7 @@ home-assistant-matter-hub start \
--log-level=$(bashio::config 'app_log_level') \
--disable-log-colors=$(bashio::config 'disable_log_colors') \
--storage-location=/config/data \
--web-port=$(bashio::config 'web_port') \
--web-port=$(bashio::addon.ingress_port) \
--home-assistant-url='http://supervisor/core' \
--home-assistant-access-token="$SUPERVISOR_TOKEN"
--home-assistant-access-token="$SUPERVISOR_TOKEN" \
--http-ip-whitelist="172.30.32.2"

View File

@@ -8,10 +8,6 @@ configuration:
name: Disable log colors
description: |
Print the log as plain text without any colors.
web_port:
name: Web UI Port
description: |
The port to use for the Web-UI. Default: 8482
mdns_network_interface:
name: mDNS Network Interface
description: |