add delay option
All checks were successful
Build docker container / build (push) Successful in 6m12s
All checks were successful
Build docker container / build (push) Successful in 6m12s
This commit is contained in:
@ -4,6 +4,7 @@ ARG GIT_BRANCH=master
|
||||
ENV CRON_SCHEDULE="0 0,12 * * *"
|
||||
ENV API_URL="https://iptv-org.github.io/api"
|
||||
ENV DAYS=14
|
||||
ENV DELAY=0
|
||||
ENV MAX_CONNECTIONS=10
|
||||
ENV ENABLE_FIXES=false
|
||||
ARG BIN_FOLDER=/bin
|
||||
@ -57,5 +58,5 @@ RUN chmod +x "$START_SCRIPT" \
|
||||
&& apk del git curl \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
ENTRYPOINT bash $START_SCRIPT chron-schedule="$CRON_SCHEDULE" work-dir="$WORKDIR" days="$DAYS" max_connections="$MAX_CONNECTIONS" enable_fixes="$ENABLE_FIXES" api_url="$API_URL"
|
||||
ENTRYPOINT bash $START_SCRIPT chron-schedule="$CRON_SCHEDULE" work-dir="$WORKDIR" days="$DAYS" delay=$DELAY max_connections="$MAX_CONNECTIONS" enable_fixes="$ENABLE_FIXES" api_url="$API_URL"
|
||||
EXPOSE 3000
|
Reference in New Issue
Block a user