Use image; format Caddyfile
This commit is contained in:
parent
311dcd92c7
commit
8ef95b70ce
@ -1,5 +1,5 @@
|
|||||||
name: "3DPrinter-OctoPrint"
|
name: "3DPrinter-OctoPrint"
|
||||||
version: "2022.12.01"
|
version: "2022.12.02"
|
||||||
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"
|
||||||
@ -30,3 +30,4 @@ schema:
|
|||||||
camera_url: "url?"
|
camera_url: "url?"
|
||||||
mode: "list(normal|recovery|reverse_proxy_test|camera)?"
|
mode: "list(normal|recovery|reverse_proxy_test|camera)?"
|
||||||
tmpfs: true
|
tmpfs: true
|
||||||
|
image: ghcr.io/fredrikbaberg/addon-3dprinter-octoprint-{arch}
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
accessControl:
|
# accessControl:
|
||||||
autologinAs: homeassistant
|
# autologinAs: homeassistant
|
||||||
autologinLocal: true
|
# autologinLocal: true
|
||||||
localNetworks:
|
# localNetworks:
|
||||||
- 127.0.0.0/8
|
# - 127.0.0.0/8
|
||||||
- ::1/128
|
# - ::1/128
|
||||||
# - 172.30.32.2
|
# - 172.30.32.2
|
||||||
api:
|
api:
|
||||||
allowCrossOrigin: true
|
allowCrossOrigin: true
|
||||||
folder:
|
folder:
|
||||||
|
|||||||
@ -16,7 +16,6 @@
|
|||||||
reverse_proxy @ingress {{ .camera_host }} {
|
reverse_proxy @ingress {{ .camera_host }} {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
handle {
|
handle {
|
||||||
{{ if eq .mode "camera" }}
|
{{ if eq .mode "camera" }}
|
||||||
reverse_proxy @ingress {{ .camera_host }} {
|
reverse_proxy @ingress {{ .camera_host }} {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user