diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index 6905d58..054fd6f 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -7,7 +7,7 @@ LABEL build_version="Version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL maintainer="Ivan Schaller" # manga-dlp version -ARG MDLP_VERSION=2.0.8 +ENV MDLP_VERSION=2.0.8 # install packages RUN \ diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 6905d58..054fd6f 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -7,7 +7,7 @@ LABEL build_version="Version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL maintainer="Ivan Schaller" # manga-dlp version -ARG MDLP_VERSION=2.0.8 +ENV MDLP_VERSION=2.0.8 # install packages RUN \ diff --git a/docker/rootfs/etc/cont-init.d/20-setenv b/docker/rootfs/etc/cont-init.d/20-setenv index 3526d56..0062f63 100644 --- a/docker/rootfs/etc/cont-init.d/20-setenv +++ b/docker/rootfs/etc/cont-init.d/20-setenv @@ -3,7 +3,9 @@ # set all env variables for further use. If variable is unset, it will have the defaults on the right side after ":=" - # custom env vars -#: "${var1:=/path1}" - +: "${MDLP_LANGUAGE:=en}" +: "${MDLP_FORCEVOL:=false}" +: "${MDLP_FILE_FORMAT:=cbz}" +: "${MDLP_DOWNLOAD_WAIT:=2}" +: "${MDLP_VERBOSE:=false}" diff --git a/docker/rootfs/etc/cont-init.d/80-fix-perms b/docker/rootfs/etc/cont-init.d/80-fix-perms index d5e72a5..1ec425d 100644 --- a/docker/rootfs/etc/cont-init.d/80-fix-perms +++ b/docker/rootfs/etc/cont-init.d/80-fix-perms @@ -10,4 +10,3 @@ find '/app' -type 'f' \( -not -perm 664 -and -not -path '/app/downloads*' \) -ex find '/app' \( -not -user abc -and -not -path '/app/downloads*' \) -exec chown abc '{}' \+ find '/app' \( -not -group abc -and -not -path '/app/downloads*' \) -exec chown :abc '{}' \+ - diff --git a/docker/rootfs/etc/cron.d/01-manga-dlp b/docker/rootfs/etc/cron.d/01-manga-dlp index 80789cc..3547e86 100644 --- a/docker/rootfs/etc/cron.d/01-manga-dlp +++ b/docker/rootfs/etc/cron.d/01-manga-dlp @@ -3,4 +3,3 @@ # the file mangas.txt 0 3 * * * abc python3 /app/manga-dlp.py --read /app/mangas.txt -c all -