feat: create a qBittorrent image

This commit is contained in:
Mogeko 2021-11-12 18:06:16 +00:00
parent 813be3905d
commit a7b7a15a2f
No known key found for this signature in database
GPG key ID: B35485A88F40AD2C
2 changed files with 36 additions and 0 deletions

21
Dockerfile Normal file
View 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
View 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=*