diff --git a/3dprinter-octoprint/Dockerfile b/3dprinter-octoprint/Dockerfile index 7784f81..e0d7900 100644 --- a/3dprinter-octoprint/Dockerfile +++ b/3dprinter-octoprint/Dockerfile @@ -3,6 +3,8 @@ FROM ${BUILD_FROM} ARG OCTOPRINT_VERSION="1.8.2" ENV OCTOPRINT_VERSION=${OCTOPRINT_VERSION} +ENV XDG_CONFIG_HOME=${XDG_CONFIG_HOME} +ENV XDG_DATA_HOME=${XDG_DATA_HOME} # Setup path for persistent install of Python packages ENV PYTHONPATH=/data/python/octoprint diff --git a/3dprinter-octoprint/build.yaml b/3dprinter-octoprint/build.yaml index 01794c6..723fe20 100644 --- a/3dprinter-octoprint/build.yaml +++ b/3dprinter-octoprint/build.yaml @@ -10,4 +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_CONFIG_HOME: /data/config + XDG_DATA_HOME: /data/config diff --git a/3dprinter-octoprint/config.yaml b/3dprinter-octoprint/config.yaml index 9f2821f..697d5ed 100644 --- a/3dprinter-octoprint/config.yaml +++ b/3dprinter-octoprint/config.yaml @@ -1,5 +1,5 @@ name: "3DPrinter-OctoPrint" -version: "2022.9.020" +version: "2022.9.021" 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"