Remove external_port
This commit is contained in:
parent
c9427d49e9
commit
f89caa397e
@ -1,5 +1,5 @@
|
|||||||
name: "3DPrinter-OctoPrint"
|
name: "3DPrinter-OctoPrint"
|
||||||
version: "2022.11.03"
|
version: "2022.11.04"
|
||||||
slug: "3dprinter-octoprint"
|
slug: "3dprinter-octoprint"
|
||||||
description: "OctoPrint as an addon, no additional bells and whistles."
|
description: "OctoPrint as an addon, no additional bells and whistles."
|
||||||
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
||||||
|
|||||||
@ -8,7 +8,6 @@
|
|||||||
bashio::var.json \
|
bashio::var.json \
|
||||||
interface "$(bashio::addon.ip_address)" \
|
interface "$(bashio::addon.ip_address)" \
|
||||||
port "^$(bashio::addon.ingress_port)" \
|
port "^$(bashio::addon.ingress_port)" \
|
||||||
external_port "^$(bashio::addon.port 5000)" \
|
|
||||||
ingress_entry "$(bashio::addon.ingress_entry)" \
|
ingress_entry "$(bashio::addon.ingress_entry)" \
|
||||||
camera_host "$(bashio::config 'camera_url')" \
|
camera_host "$(bashio::config 'camera_url')" \
|
||||||
mode "$(bashio::config 'mode')" \
|
mode "$(bashio::config 'mode')" \
|
||||||
|
|||||||
@ -29,11 +29,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
{{ if .external_port }}
|
|
||||||
# OctoPrint WebUI
|
# OctoPrint WebUI
|
||||||
:5000 {
|
:5000 {
|
||||||
reverse_proxy http://127.0.0.1:80 {
|
reverse_proxy http://127.0.0.1:80 {
|
||||||
header_up X-Scheme {scheme}
|
header_up X-Scheme {scheme}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{{ end }}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user