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 6d0d263 commit bb92ea6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 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 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 ****" && \
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 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 ****" && \
Expand Down
2 changes: 2 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
5 changes: 4 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-lidarr-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/lidarr-temp

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

0 comments on commit bb92ea6

Please sign in to comment.