mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Release 2.4
- Allow use of optional environmental variables for Lidarr config - Updated Docker labels
This commit is contained in:
+4
-1
@@ -18,7 +18,10 @@ RUN \
|
|||||||
## Single layer deployed image ##
|
## Single layer deployed image ##
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
LABEL maintainer="TheCaptain989"
|
LABEL org.opencontainers.image.source=https://github.com/TheCaptain989/lidarr-flac2mp3
|
||||||
|
LABEL org.opencontainers.image.description="A Docker Mod to Lidarr to automatically convert FLAC files to MP3s, or other format"
|
||||||
|
LABEL org.opencontainers.image.licenses=GPL-3.0-only
|
||||||
|
LABEL org.opencontainers.image.authors="TheCaptain989"
|
||||||
|
|
||||||
# Add files from buildstage
|
# Add files from buildstage
|
||||||
COPY --from=buildstage /root-layer/ /
|
COPY --from=buildstage /root-layer/ /
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ Production Container info: 
|

|
||||||

|

|
||||||
|
[](https://github.com/TheCaptain989/lidarr-flac2mp3/actions/workflows/linter.yml "Linter Job")
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
1. Pull the [linuxserver/lidarr](https://hub.docker.com/r/linuxserver/lidarr "LinuxServer.io's Lidarr container") docker image from GitHub Container Registry or Docker Hub:
|
1. Pull the [linuxserver/lidarr](https://hub.docker.com/r/linuxserver/lidarr "LinuxServer.io's Lidarr container") docker image from GitHub Container Registry or Docker Hub:
|
||||||
|
|||||||
+1
-1
@@ -13,6 +13,6 @@ Only the latest major and minor version are supported.
|
|||||||
|
|
||||||
Vulnerability reports or security concerns may be submitted as a new issue in GitHub, or emailed to:
|
Vulnerability reports or security concerns may be submitted as a new issue in GitHub, or emailed to:
|
||||||
|
|
||||||
>thecaptain989@protonmail.com
|
><thecaptain989@protonmail.com>
|
||||||
|
|
||||||
Please allow 48-hours for an initial response. An issue will be entered if accepted.
|
Please allow 48-hours for an initial response. An issue will be entered if accepted.
|
||||||
|
|||||||
@@ -644,6 +644,12 @@ elif [ -f "$flac2mp3_config" ]; then
|
|||||||
[[ $flac2mp3_xml_entity = "ApiKey" ]] && flac2mp3_apikey=$flac2mp3_xml_content
|
[[ $flac2mp3_xml_entity = "ApiKey" ]] && flac2mp3_apikey=$flac2mp3_xml_content
|
||||||
done < $flac2mp3_config
|
done < $flac2mp3_config
|
||||||
|
|
||||||
|
# Allow use of environment variables from https://github.com/Lidarr/Lidarr/pull/4812
|
||||||
|
[ -n "${LIDARR__SERVER__PORT}" ] && flac2mp3_port="${LIDARR__SERVER__PORT}"
|
||||||
|
[ -n "${LIDARR__SERVER__URLBASE}" ] && flac2mp3_urlbase="${LIDARR__SERVER__URLBASE}"
|
||||||
|
[ -n "${LIDARR__SERVER__BINDADDRESS}" ] && flac2mp3_bindaddress="${LIDARR__SERVER__BINDADDRESS}"
|
||||||
|
[ -n "${LIDARR__AUTH__APIKEY}" ] && flac2mp3_apikey="${LIDARR__AUTH__APIKEY}"
|
||||||
|
|
||||||
# Check for localhost
|
# Check for localhost
|
||||||
[[ $flac2mp3_bindaddress = "*" ]] && flac2mp3_bindaddress=localhost
|
[[ $flac2mp3_bindaddress = "*" ]] && flac2mp3_bindaddress=localhost
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user