From bb92ea60903af9b050da002caa3d39e3d379584f Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 3 Jul 2024 16:40:59 +0100 Subject: [PATCH 1/2] Move tmpdir, set COMPlus_EnableDiagnostics --- Dockerfile | 4 +++- Dockerfile.aarch64 | 4 +++- readme-vars.yml | 2 ++ root/etc/s6-overlay/s6-rc.d/init-lidarr-config/run | 5 ++++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ac24b5..0323a01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad" # environment settings ARG LIDARR_BRANCH="nightly" -ENV XDG_CONFIG_HOME="/config/xdg" +ENV XDG_CONFIG_HOME="/config/xdg"\ + COMPlus_EnableDiagnostics=0 \ + TMPDIR=/run/lidarr-temp RUN \ echo "**** install packages ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index f60512d..8d84a7b 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad" # environment settings ARG LIDARR_BRANCH="nightly" -ENV XDG_CONFIG_HOME="/config/xdg" +ENV XDG_CONFIG_HOME="/config/xdg"\ + COMPlus_EnableDiagnostics=0 \ + TMPDIR=/run/lidarr-temp RUN \ echo "**** install packages ****" && \ diff --git a/readme-vars.yml b/readme-vars.yml index e79fe89..82ca33b 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -34,6 +34,8 @@ param_usage_include_ports: true param_ports: - { external_port: "8686", internal_port: "8686", port_desc: "Application WebUI" } +readonly_supported: true + # application setup block app_setup_block_enabled: true app_setup_block: | diff --git a/root/etc/s6-overlay/s6-rc.d/init-lidarr-config/run b/root/etc/s6-overlay/s6-rc.d/init-lidarr-config/run index efea851..7e43d1e 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-lidarr-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-lidarr-config/run @@ -1,6 +1,9 @@ #!/usr/bin/with-contenv bash # shellcheck shell=bash +mkdir -p /run/lidarr-temp + # permissions lsiown -R abc:abc \ - /config + /config \ + /run/lidarr-temp From 5bae426358f02386d741b6cc23ee4ec27f855b7f Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 3 Jul 2024 16:42:58 +0100 Subject: [PATCH 2/2] Spacing --- Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0323a01..157d84d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ LABEL maintainer="Roxedus,thespad" # environment settings ARG LIDARR_BRANCH="nightly" -ENV XDG_CONFIG_HOME="/config/xdg"\ +ENV XDG_CONFIG_HOME="/config/xdg" \ COMPlus_EnableDiagnostics=0 \ TMPDIR=/run/lidarr-temp diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 8d84a7b..1badf82 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -11,7 +11,7 @@ LABEL maintainer="Roxedus,thespad" # environment settings ARG LIDARR_BRANCH="nightly" -ENV XDG_CONFIG_HOME="/config/xdg"\ +ENV XDG_CONFIG_HOME="/config/xdg" \ COMPlus_EnableDiagnostics=0 \ TMPDIR=/run/lidarr-temp