Fix XDG paths

This commit is contained in:
Fredrik Baberg 2022-10-02 23:26:12 +02:00
parent 8eaaf3283b
commit 1a5b481dc8
4 changed files with 6 additions and 3 deletions

View File

@ -1 +1,2 @@
- Fixes to Caddy XDG paths
- Change reverse proxy from nginx to Caddy - Change reverse proxy from nginx to Caddy

View File

@ -1,6 +1,8 @@
ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye" ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye"
FROM ${BUILD_FROM} FROM ${BUILD_FROM}
ARG OCTOPRINT_VERSION="1.8.2" ARG OCTOPRINT_VERSION="1.8.2"
ARG XDG_CONFIG_HOME="/data/config"
ARG XDG_DATA_HOME="/data/config"
ENV OCTOPRINT_VERSION=${OCTOPRINT_VERSION} ENV OCTOPRINT_VERSION=${OCTOPRINT_VERSION}
ENV XDG_CONFIG_HOME=${XDG_CONFIG_HOME} ENV XDG_CONFIG_HOME=${XDG_CONFIG_HOME}

View File

@ -10,5 +10,5 @@ labels:
org.opencontainers.image.source: "https://github.com/fredrikbaberg/3dprinter-addons" org.opencontainers.image.source: "https://github.com/fredrikbaberg/3dprinter-addons"
args: args:
OCTOPRINT_VERSION: "1.8.4" OCTOPRINT_VERSION: "1.8.4"
XDG_CONFIG_HOME: /data/config XDG_CONFIG_HOME: "/data/config"
XDG_DATA_HOME: /data/config XDG_DATA_HOME: "/data/config"

View File

@ -1,5 +1,5 @@
name: "3DPrinter-OctoPrint" name: "3DPrinter-OctoPrint"
version: "2022.9.021" version: "2022.9.022"
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"