feat: create a qBittorrent image
This commit is contained in:
parent
813be3905d
commit
a7b7a15a2f
2 changed files with 36 additions and 0 deletions
21
Dockerfile
Normal file
21
Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM alpine:edge
|
||||
|
||||
ARG VERSION
|
||||
|
||||
RUN apk add --no-cache \
|
||||
-X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
||||
qbittorrent-nox=${VERSION}
|
||||
|
||||
ADD --chown=1000:100 qBittorrent.conf /qBittorrent/config/
|
||||
|
||||
RUN chmod -R g+w /qBittorrent
|
||||
|
||||
EXPOSE 6881 6881/udp 8080
|
||||
|
||||
ENV QBT_WEBUI_PORT=8080
|
||||
|
||||
VOLUME [ "/downloads" ]
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/qbittorrent-nox" ]
|
||||
|
||||
CMD [ "--profile=/" ]
|
||||
15
qBittorrent.conf
Normal file
15
qBittorrent.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[AutoRun]
|
||||
enabled=false
|
||||
program=
|
||||
|
||||
[LegalNotice]
|
||||
Accepted=true
|
||||
|
||||
[Preferences]
|
||||
Connection\UPnP=false
|
||||
Connection\PortRangeMin=6881
|
||||
Downloads\SavePath=/downloads/
|
||||
Downloads\ScanDirsV2=@Variant(\0\0\0\x1c\0\0\0\0)
|
||||
Downloads\TempPath=/downloads/incomplete/
|
||||
WebUI\Address=*
|
||||
WebUI\ServerDomains=*
|
||||
Loading…
Add table
Reference in a new issue