add nzbget config

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-07-14 18:17:55 -04:00
parent 387a31d9f1
commit 5eeb7c5753
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 1679 additions and 2 deletions

View File

@ -18,11 +18,13 @@ RUN wget "https://github.com/nzbget/nzbget/releases/download/v${NZBGET_VERSION}/
&& git clone --depth=1 "https://github.com/clinton-hall/nzbToMedia.git" /opt/nzbget/scripts/nzbToMedia \ && git clone --depth=1 "https://github.com/clinton-hall/nzbToMedia.git" /opt/nzbget/scripts/nzbToMedia \
&& rm -f /tmp/nzbget.bin && rm -f /tmp/nzbget.bin
COPY nzbget.conf /config/nzbget.conf
RUN addgroup -g 666 -S nzbget \ RUN addgroup -g 666 -S nzbget \
&& adduser -u 666 -SHG nzbget nzbget \ && adduser -u 666 -SHG nzbget nzbget \
&& mkdir -p /movies /downloads /comics /tvseries \ && mkdir -p /movies /downloads /comics /tvseries \
&& chown -R nzbget:nzbget /movies /downloads /comics /tvseries /opt/nzbget && chown -R nzbget:nzbget /movies /downloads /comics /tvseries /config /opt/nzbget
USER nzbget USER nzbget
ENTRYPOINT [ "/opt/nzbget/nzbget", "-s", "-o", "FlushQueue=no", "-o", "OutputMode=loggable", "-c", "/opt/nzbget/nzbget.conf" ] ENTRYPOINT [ "/opt/nzbget/nzbget", "-s", "-o", "FlushQueue=no", "-o", "OutputMode=loggable", "-c", "/config/nzbget.conf" ]

1675
nzbget/nzbget.conf Normal file

File diff suppressed because it is too large Load Diff