Merge pull request #21 from fredrikbaberg/dev_octoprint

Use image; format Caddyfile
This commit is contained in:
Fredrik Baberg 2022-12-19 15:48:58 +01:00 committed by GitHub
commit b420d573da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 19 deletions

View File

@ -1,5 +1,5 @@
name: "3DPrinter-OctoPrint"
version: "2022.12.01"
version: "2022.12.02"
slug: "3dprinter-octoprint"
description: "OctoPrint as an addon, no additional bells and whistles."
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
@ -30,3 +30,4 @@ schema:
camera_url: "url?"
mode: "list(normal|recovery|reverse_proxy_test|camera)?"
tmpfs: true
image: ghcr.io/fredrikbaberg/addon-3dprinter-octoprint-{arch}

View File

@ -1,10 +1,10 @@
accessControl:
autologinAs: homeassistant
autologinLocal: true
localNetworks:
- 127.0.0.0/8
- ::1/128
# - 172.30.32.2
# accessControl:
# autologinAs: homeassistant
# autologinLocal: true
# localNetworks:
# - 127.0.0.0/8
# - ::1/128
# - 172.30.32.2
api:
allowCrossOrigin: true
folder:

View File

@ -16,7 +16,6 @@
reverse_proxy @ingress {{ .camera_host }} {
}
}
handle {
{{ if eq .mode "camera" }}
reverse_proxy @ingress {{ .camera_host }} {