Move tmpdir, set COMPlus_EnableDiagnostics

This commit is contained in:
thespad
2024-07-03 19:40:59 +01:00
parent 0157a2559a
commit 15868457cf
4 changed files with 20 additions and 8 deletions

View File

@@ -10,9 +10,11 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad"
# set environment variables
ENV XDG_CONFIG_HOME="/config/xdg"
ENV SONARR_BRANCH="develop"
ENV SONARR_CHANNEL="v4-nightly"
ENV XDG_CONFIG_HOME="/config/xdg" \
SONARR_BRANCH="develop" \
SONARR_CHANNEL="v4-nightly" \
COMPlus_EnableDiagnostics=0 \
TMPDIR=/run/sonarr-temp
RUN \
echo "**** install packages ****" && \

View File

@@ -10,9 +10,11 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad"
# set environment variables
ENV XDG_CONFIG_HOME="/config/xdg"
ENV SONARR_BRANCH="develop"
ENV SONARR_CHANNEL="v4-nightly"
ENV XDG_CONFIG_HOME="/config/xdg" \
SONARR_BRANCH="develop" \
SONARR_CHANNEL="v4-nightly" \
COMPlus_EnableDiagnostics=0 \
TMPDIR=/run/sonarr-temp
RUN \
echo "**** install packages ****" && \

View File

@@ -24,6 +24,9 @@ param_container_name: "{{ project_name }}"
param_usage_include_vols: true
param_volumes:
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Database and Sonarr configs" }
opt_param_usage_include_vols: true
opt_param_volumes:
- { vol_path: "/tv", vol_host_path: "/path/to/tv", desc: "Location of TV library on disk" }
- { vol_path: "/downloads", vol_host_path: "/path/to/download-client-downloads", desc: "Location of download managers output directory" }
@@ -31,6 +34,8 @@ param_usage_include_ports: true
param_ports:
- { external_port: "8989", internal_port: "8989", port_desc: "The port for the Sonarr web interface" }
readonly_supported: true
# application setup block
app_setup_block_enabled: true
app_setup_block: |

View File

@@ -1,6 +1,9 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# permissions
mkdir -p /run/sonarr-temp
# permissions
lsiown -R abc:abc \
/config
/config \
/run/sonarr-temp