From 1875283bb52c39aad9a9e5c6f3380bf75d392255 Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 3 Jul 2024 19:21:38 +0100 Subject: [PATCH] Move tmpdir, set COMPlus_EnableDiagnostics --- Dockerfile | 4 +++- Dockerfile.aarch64 | 4 +++- readme-vars.yml | 2 ++ root/etc/s6-overlay/s6-rc.d/init-radarr-config/run | 5 ++++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd8e7a95..654dcff6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad" # environment settings ARG RADARR_BRANCH="develop" -ENV XDG_CONFIG_HOME="/config/xdg" +ENV XDG_CONFIG_HOME="/config/xdg" \ + COMPlus_EnableDiagnostics=0 \ + TMPDIR=/run/radarr-temp RUN \ echo "**** install packages ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 8737943f..c3bb86f1 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad" # environment settings ARG RADARR_BRANCH="develop" -ENV XDG_CONFIG_HOME="/config/xdg" +ENV XDG_CONFIG_HOME="/config/xdg" \ + COMPlus_EnableDiagnostics=0 \ + TMPDIR=/run/radarr-temp RUN \ echo "**** install packages ****" && \ diff --git a/readme-vars.yml b/readme-vars.yml index 554b6149..9ed1bb03 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -35,6 +35,8 @@ param_usage_include_ports: true param_ports: - { external_port: "7878", internal_port: "7878", port_desc: "The port for the Radarr web UI" } +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-radarr-config/run b/root/etc/s6-overlay/s6-rc.d/init-radarr-config/run index efea8517..00ce0681 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-radarr-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-radarr-config/run @@ -1,6 +1,9 @@ #!/usr/bin/with-contenv bash # shellcheck shell=bash +mkdir -p /run/radarr-temp + # permissions lsiown -R abc:abc \ - /config + /config \ + /run/radarr-temp