mirror of
https://github.com/RiDDiX/home-assistant-addons.git
synced 2026-07-21 08:58:08 +08:00
Revert "Revert "fix: activate ingress""
This reverts commit 0488f02819.
This commit is contained in:
@@ -11,16 +11,15 @@ arch:
|
|||||||
- aarch64
|
- aarch64
|
||||||
- amd64
|
- amd64
|
||||||
- armv7
|
- armv7
|
||||||
webui: http://[HOST]:[PORT:8482]/
|
ingress: true
|
||||||
|
ingress_port: 0
|
||||||
map:
|
map:
|
||||||
- addon_config:rw
|
- addon_config:rw
|
||||||
options:
|
options:
|
||||||
app_log_level: info
|
app_log_level: info
|
||||||
disable_log_colors: false
|
disable_log_colors: false
|
||||||
web_port: 8482
|
|
||||||
mdns_network_interface: ""
|
mdns_network_interface: ""
|
||||||
schema:
|
schema:
|
||||||
app_log_level: list(silly|debug|info|warn|error)
|
app_log_level: list(silly|debug|info|warn|error)
|
||||||
disable_log_colors: bool
|
disable_log_colors: bool
|
||||||
web_port: int(1,)
|
|
||||||
mdns_network_interface: "str?"
|
mdns_network_interface: "str?"
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ home-assistant-matter-hub start \
|
|||||||
--log-level=$(bashio::config 'app_log_level') \
|
--log-level=$(bashio::config 'app_log_level') \
|
||||||
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
||||||
--storage-location=/config/data \
|
--storage-location=/config/data \
|
||||||
--web-port=$(bashio::config 'web_port') \
|
--web-port=$(bashio::addon.ingress_port) \
|
||||||
--home-assistant-url='http://supervisor/core' \
|
--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"
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
bashio::addon.config
|
|
||||||
echo ""
|
|
||||||
bashio::addon.ingress_port
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
home-assistant-matter-hub start \
|
home-assistant-matter-hub start \
|
||||||
--log-level=$(bashio::config 'app_log_level') \
|
--log-level=$(bashio::config 'app_log_level') \
|
||||||
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
--disable-log-colors=$(bashio::config 'disable_log_colors') \
|
||||||
|
|||||||
Reference in New Issue
Block a user