Skip Ingress code
This commit is contained in:
parent
49ae738ae7
commit
dcc46a98f2
@ -1,5 +1,5 @@
|
|||||||
name: "3DPrinter-OctoPrint"
|
name: "3DPrinter-OctoPrint"
|
||||||
version: "2023.01.0"
|
version: "2023.01.01"
|
||||||
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"
|
||||||
|
|||||||
@ -5,19 +5,19 @@
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
# Generate proxy configuration for access by Ingress
|
# Generate proxy configuration for access by Ingress
|
||||||
bashio::var.json \
|
# bashio::var.json \
|
||||||
addon_hostname "$(bashio::addon.hostname)" \
|
# addon_hostname "$(bashio::addon.hostname)" \
|
||||||
addon_ip "$(bashio::addon.ip_address)" \
|
# addon_ip "$(bashio::addon.ip_address)" \
|
||||||
camera_host "$(bashio::config 'camera_url')" \
|
# camera_host "$(bashio::config 'camera_url')" \
|
||||||
ingress_entry "$(bashio::addon.ingress_entry)" \
|
# ingress_entry "$(bashio::addon.ingress_entry)" \
|
||||||
ingress_port "^$(bashio::addon.ingress_port)" \
|
# ingress_port "^$(bashio::addon.ingress_port)" \
|
||||||
interface "$(bashio::addon.ip_address)" \
|
# interface "$(bashio::addon.ip_address)" \
|
||||||
mode "$(bashio::config 'mode')" \
|
# mode "$(bashio::config 'mode')" \
|
||||||
supervisor_ip "$(bashio::supervisor.ip_address)" \
|
# supervisor_ip "$(bashio::supervisor.ip_address)" \
|
||||||
trusted_proxies "$(bashio::config 'trusted_proxies')" \
|
# trusted_proxies "$(bashio::config 'trusted_proxies')" \
|
||||||
| tempio \
|
# | tempio \
|
||||||
-template /usr/share/tempio/caddy/Caddyfile.ingress.gtpl \
|
# -template /usr/share/tempio/caddy/Caddyfile.ingress.gtpl \
|
||||||
-out /etc/caddy/sites-enabled/ingress.caddy
|
# -out /etc/caddy/sites-enabled/ingress.caddy
|
||||||
|
|
||||||
# Generate proxy configuration for any access
|
# Generate proxy configuration for any access
|
||||||
# tempio \
|
# tempio \
|
||||||
@ -32,4 +32,4 @@ bashio::var.json \
|
|||||||
# -out /etc/caddy/sites-enabled/internal.caddy
|
# -out /etc/caddy/sites-enabled/internal.caddy
|
||||||
|
|
||||||
# Make sure file is correctly formatted.
|
# Make sure file is correctly formatted.
|
||||||
caddy fmt --overwrite /etc/caddy/Caddyfile
|
# caddy fmt --overwrite /etc/caddy/Caddyfile
|
||||||
Loading…
Reference in New Issue
Block a user