mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-27 02:32:06 -04:00
Release 2.6.1
- Allow use of optional environmental variables for Radarr/Sonarr config - Updated Docker labels
This commit is contained in:
+4
-1
@@ -18,7 +18,10 @@ RUN \
|
||||
## Single layer deployed image ##
|
||||
FROM scratch
|
||||
|
||||
LABEL maintainer="TheCaptain989"
|
||||
LABEL org.opencontainers.image.source=https://github.com/TheCaptain989/radarr-striptracks
|
||||
LABEL org.opencontainers.image.description="A Docker Mod to Radarr/Sonarr to automatically strip out unwanted audio and subtitle streams"
|
||||
LABEL org.opencontainers.image.licenses=GPL-3.0-only
|
||||
LABEL org.opencontainers.image.authors="TheCaptain989"
|
||||
|
||||
# Add files from buildstage
|
||||
COPY --from=buildstage /root-layer/ /
|
||||
|
||||
@@ -6,11 +6,11 @@ A [Docker Mod](https://github.com/linuxserver/docker-mods) for the LinuxServer.i
|
||||
**This unified script works in both Radarr and Sonarr. Use this mod in either container!**
|
||||
>**NOTE:** This mod supports Linux OSes only.
|
||||
|
||||
Container info:
|
||||
Production Container info: 
|
||||
Development Container info:
|
||||

|
||||

|
||||
[](https://github.com/TheCaptain989/radarr-striptracks/actions/workflows/linter.yml "Linter Job")
|
||||
Production Container info: 
|
||||
|
||||
# Installation
|
||||
1. Pull your selected container ([linuxserver/radarr](https://hub.docker.com/r/linuxserver/radarr "LinuxServer.io's Radarr container") or [linuxserver/sonarr](https://hub.docker.com/r/linuxserver/sonarr "LinuxServer.io's Sonarr container")) from GitHub Container Registry or Docker Hub:
|
||||
|
||||
@@ -911,6 +911,16 @@ elif [ -f "$striptracks_arr_config" ]; then
|
||||
[[ $striptracks_xml_entity = "ApiKey" ]] && striptracks_apikey=$striptracks_xml_content
|
||||
done < $striptracks_arr_config
|
||||
|
||||
# Allow use of environment variables from https://github.com/Sonarr/Sonarr/pull/6746
|
||||
striptracks_port_var="${striptracks_type^^}__SERVER__PORT"
|
||||
[ -n "${!striptracks_port_var}" ] && striptracks_port="${!striptracks_port_var}"
|
||||
striptracks_urlbase_var="${striptracks_type^^}__SERVER__URLBASE"
|
||||
[ -n "${!striptracks_urlbase_var}" ] && striptracks_urlbase="${!striptracks_urlbase_var}"
|
||||
striptracks_bindaddress_var="${striptracks_type^^}__SERVER__BINDADDRESS"
|
||||
[ -n "${!striptracks_bindaddress_var}" ] && striptracks_bindaddress="${!striptracks_bindaddress_var}"
|
||||
striptracks_apikey_var="${striptracks_type^^}__AUTH__APIKEY"
|
||||
[ -n "${!striptracks_apikey_var}" ] && striptracks_apikey="${!striptracks_apikey_var}"
|
||||
|
||||
# Check for localhost
|
||||
[[ $striptracks_bindaddress = "*" ]] && striptracks_bindaddress=localhost
|
||||
|
||||
|
||||
Reference in New Issue
Block a user