Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move tmpdir, set COMPlus_EnableDiagnostics (develop) #296

Merged
merged 1 commit into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ****" && \
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -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 ****" && \
Expand Down
5 changes: 5 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,18 @@ 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" }

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: |
Expand Down
7 changes: 5 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/init-sonarr-config/run
Original file line number Diff line number Diff line change
@@ -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