Use image; format Caddyfile

This commit is contained in:
Fredrik Baberg 2022-12-19 15:48:40 +01:00
parent 311dcd92c7
commit 8ef95b70ce
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,8 +1,8 @@
# Temporary file, will be overwritten on launch.
{
debug
log {
format console
output file /var/log/caddy/caddy.log
}
debug
log {
format console
output file /var/log/caddy/caddy.log
}
}

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

@ -1,9 +1,9 @@
{
debug
log {
format console
output file /var/log/caddy/caddy.log
}
debug
log {
format console
output file /var/log/caddy/caddy.log
}
}
:8099 {
@ -16,7 +16,6 @@
reverse_proxy @ingress {{ .camera_host }} {
}
}
handle {
{{ if eq .mode "camera" }}
reverse_proxy @ingress {{ .camera_host }} {