From 1a5b481dc8dd58227870331a1292d5efb37b9599 Mon Sep 17 00:00:00 2001 From: Fredrik Baberg Date: Sun, 2 Oct 2022 23:26:12 +0200 Subject: [PATCH] Fix XDG paths --- 3dprinter-octoprint/CHANGELOG.md | 1 + 3dprinter-octoprint/Dockerfile | 2 ++ 3dprinter-octoprint/build.yaml | 4 ++-- 3dprinter-octoprint/config.yaml | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/3dprinter-octoprint/CHANGELOG.md b/3dprinter-octoprint/CHANGELOG.md index a9d0efa..95fb1e4 100644 --- a/3dprinter-octoprint/CHANGELOG.md +++ b/3dprinter-octoprint/CHANGELOG.md @@ -1 +1,2 @@ +- Fixes to Caddy XDG paths - Change reverse proxy from nginx to Caddy \ No newline at end of file diff --git a/3dprinter-octoprint/Dockerfile b/3dprinter-octoprint/Dockerfile index e0d7900..a21df7b 100644 --- a/3dprinter-octoprint/Dockerfile +++ b/3dprinter-octoprint/Dockerfile @@ -1,6 +1,8 @@ ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye" FROM ${BUILD_FROM} ARG OCTOPRINT_VERSION="1.8.2" +ARG XDG_CONFIG_HOME="/data/config" +ARG XDG_DATA_HOME="/data/config" ENV OCTOPRINT_VERSION=${OCTOPRINT_VERSION} ENV XDG_CONFIG_HOME=${XDG_CONFIG_HOME} diff --git a/3dprinter-octoprint/build.yaml b/3dprinter-octoprint/build.yaml index 723fe20..f5587a7 100644 --- a/3dprinter-octoprint/build.yaml +++ b/3dprinter-octoprint/build.yaml @@ -10,5 +10,5 @@ labels: org.opencontainers.image.source: "https://github.com/fredrikbaberg/3dprinter-addons" args: OCTOPRINT_VERSION: "1.8.4" - XDG_CONFIG_HOME: /data/config - XDG_DATA_HOME: /data/config + XDG_CONFIG_HOME: "/data/config" + XDG_DATA_HOME: "/data/config" diff --git a/3dprinter-octoprint/config.yaml b/3dprinter-octoprint/config.yaml index 697d5ed..a3b005d 100644 --- a/3dprinter-octoprint/config.yaml +++ b/3dprinter-octoprint/config.yaml @@ -1,5 +1,5 @@ name: "3DPrinter-OctoPrint" -version: "2022.9.021" +version: "2022.9.022" 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"