Skip to content

Commit

Permalink
Move tmpdir, set COMPlus_EnableDiagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Jul 3, 2024
1 parent 5c85fcf commit afa140b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad"

# environment settings
ARG READARR_BRANCH="nightly"
ENV XDG_CONFIG_HOME="/config/xdg"
ENV XDG_CONFIG_HOME="/config/xdg" \
COMPlus_EnableDiagnostics=0 \
TMPDIR=/run/readarr-temp

RUN \
echo "**** install packages ****" && \
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ LABEL maintainer="Roxedus,thespad"

# environment settings
ARG READARR_BRANCH="nightly"
ENV XDG_CONFIG_HOME="/config/xdg"
ENV XDG_CONFIG_HOME="/config/xdg" \
COMPlus_EnableDiagnostics=0 \
TMPDIR=/run/readarr-temp

RUN \
echo "**** install packages ****" && \
Expand Down
3 changes: 1 addition & 2 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ param_usage_include_ports: true
param_ports:
- { external_port: "8787", internal_port: "8787", port_desc: "The port for the Readarr web UI", }

# optional env variables
opt_param_usage_include_env: false
readonly_supported: true

# application setup block
app_setup_block_enabled: true
Expand Down
5 changes: 4 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-readarr-config/run
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

mkdir -p /run/readarr-temp

# permissions
lsiown -R abc:abc \
/config
/config \
/run/readarr-temp

0 comments on commit afa140b

Please sign in to comment.