mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add nzbget config
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
387a31d9f1
commit
5eeb7c5753
|
@ -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
1675
nzbget/nzbget.conf
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user