Compare commits
13 Commits
4.6.3-r0-l
...
4.6.3-r0-l
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d799ac9b4 | ||
|
|
db45b7a47e | ||
|
|
c9fef1b8fd | ||
|
|
873a9fab4a | ||
|
|
ebeab95adb | ||
|
|
e0e573c248 | ||
|
|
6d3d9697e1 | ||
|
|
31ce96fdb8 | ||
|
|
19c202debc | ||
|
|
4f6920e7fd | ||
|
|
98f36cee40 | ||
|
|
4fe96ba449 | ||
|
|
247c0c500d |
10
Dockerfile
10
Dockerfile
@@ -19,15 +19,9 @@ XDG_DATA_HOME="/config"
|
||||
|
||||
# install runtime packages and qbitorrent-cli
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
build-base && \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
||||
apk add --no-cache \
|
||||
icu-libs \
|
||||
libstdc++ \
|
||||
openssl \
|
||||
openssl1.1-compat \
|
||||
p7zip \
|
||||
python3 \
|
||||
qt6-qtbase-sqlite && \
|
||||
@@ -50,8 +44,6 @@ RUN \
|
||||
/tmp/qbt.tar.gz -C \
|
||||
/qbt && \
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/root/.cache \
|
||||
/tmp/*
|
||||
|
||||
@@ -19,15 +19,9 @@ XDG_DATA_HOME="/config"
|
||||
|
||||
# install runtime packages and qbitorrent-cli
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
build-base && \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
||||
apk add --no-cache \
|
||||
icu-libs \
|
||||
libstdc++ \
|
||||
openssl \
|
||||
openssl1.1-compat \
|
||||
p7zip \
|
||||
python3 \
|
||||
qt6-qtbase-sqlite && \
|
||||
@@ -50,8 +44,6 @@ RUN \
|
||||
/tmp/qbt.tar.gz -C \
|
||||
/qbt && \
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/root/.cache \
|
||||
/tmp/*
|
||||
|
||||
12
README.md
12
README.md
@@ -80,6 +80,12 @@ Due to issues with CSRF and port mapping, should you require to alter the port f
|
||||
|
||||
For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090
|
||||
|
||||
### TORRENTING_PORT
|
||||
|
||||
A bittorrent client can be an active or a passive node. Running your client as an active node has the advantage of being able to connect to both active and passive peers, and can potentially increase the number of incoming connections. This requires an open port on the host machine which might differ from container's internal one.
|
||||
|
||||
Similarly to the WEBUI_PORT, to set the port to 6887 you need to pass -p 6887:6887, -p 6887:6887/udp and -e TORRENTING_PORT=6887 arguments to Docker.
|
||||
|
||||
## Usage
|
||||
|
||||
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
||||
@@ -97,6 +103,7 @@ services:
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- WEBUI_PORT=8080
|
||||
- TORRENTING_PORT=6881
|
||||
volumes:
|
||||
- /path/to/appdata/config:/config
|
||||
- /path/to/downloads:/downloads
|
||||
@@ -116,6 +123,7 @@ docker run -d \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Etc/UTC \
|
||||
-e WEBUI_PORT=8080 \
|
||||
-e TORRENTING_PORT=6881 \
|
||||
-p 8080:8080 \
|
||||
-p 6881:6881 \
|
||||
-p 6881:6881/udp \
|
||||
@@ -138,6 +146,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `-e WEBUI_PORT=8080` | for changing the port of the web UI, see below for explanation |
|
||||
| `-e TORRENTING_PORT=6881` | for changing the port of tcp/udp connection, see below for explanation |
|
||||
| `-v /config` | Contains all relevant configuration files. |
|
||||
| `-v /downloads` | Location of downloads on disk. |
|
||||
|
||||
@@ -302,6 +311,9 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **14.02.24:** - Only set/override torrenting port if the optional env var is set.
|
||||
* **14.02.24:** - Add torrenting port support.
|
||||
* **31.01.24:** - Remove obsolete compat packages.
|
||||
* **25.12.23:** - Only pull stable releases of qbittorrent-cli.
|
||||
* **07.10.23:** - Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar).
|
||||
* **10.08.23:** - Bump unrar to 6.2.10.
|
||||
|
||||
@@ -4,7 +4,7 @@ Alba.CsConsoleFormat 1.0.0.89
|
||||
BencodeNET 2.3.0.0 dotnet
|
||||
Bouncy Castle for .NET (netstandard2.0) 1.8.8.2 dotnet
|
||||
CommandLineUtils 2.4.4+3c2a4909757a51602dcca9b961d577511b85fd31.3c2a4909757a51602dcca9b961d577511b85fd31 dotnet
|
||||
CsvHelper 12.0.0.0 dotnet
|
||||
CsvHelper 12.1.2 dotnet
|
||||
Json.NET 13.0.3.27908 dotnet
|
||||
Microsoft.CSharp 4.700.22.56512 dotnet
|
||||
Microsoft.VisualBasic 4.700.22.56512 dotnet
|
||||
@@ -92,7 +92,7 @@ System.Net.WebSockets.Client 4.700.22.56512
|
||||
System.Numerics 4.700.22.56512 dotnet
|
||||
System.Numerics.Vectors 4.700.22.56512 dotnet
|
||||
System.ObjectModel 4.700.22.56512 dotnet
|
||||
System.Private.CoreLib 3.1.32-servicing.22559.2+c17d273aa03d4b9d14c92248a91f0d0faa881b98 dotnet
|
||||
System.Private.CoreLib 4.700.22.55902 dotnet
|
||||
System.Private.DataContractSerialization 4.700.22.56512 dotnet
|
||||
System.Private.Uri 4.700.22.56512 dotnet
|
||||
System.Private.Xml 4.700.22.56512 dotnet
|
||||
@@ -174,89 +174,84 @@ System.Xml.XPath.XDocument 4.700.22.56512
|
||||
System.Xml.XmlDocument 4.700.22.56512 dotnet
|
||||
System.Xml.XmlSerializer 4.700.22.56512 dotnet
|
||||
WindowsBase 4.700.22.56512 dotnet
|
||||
alpine-baselayout 3.5.3-r1 apk
|
||||
alpine-baselayout-data 3.5.3-r1 apk
|
||||
alpine-baselayout 3.6.1-r0 apk
|
||||
alpine-baselayout-data 3.6.1-r0 apk
|
||||
alpine-keys 2.4-r1 apk
|
||||
apk-tools 2.14.0-r5 apk
|
||||
bash 5.2.21-r0 apk
|
||||
bash 5.2.26-r0 apk
|
||||
brotli-libs 1.1.0-r1 apk
|
||||
busybox 1.36.1-r18 apk
|
||||
busybox-binsh 1.36.1-r18 apk
|
||||
c-ares 1.25.0-r0 apk
|
||||
busybox 1.36.1-r19 apk
|
||||
busybox-binsh 1.36.1-r19 apk
|
||||
c-ares 1.26.0-r0 apk
|
||||
ca-certificates 20230506-r1 apk
|
||||
ca-certificates-bundle 20230506-r1 apk
|
||||
coreutils 9.4-r1 apk
|
||||
coreutils-env 9.4-r1 apk
|
||||
coreutils-fmt 9.4-r1 apk
|
||||
coreutils-sha512sum 9.4-r1 apk
|
||||
curl 8.5.0-r1 apk
|
||||
dbus-libs 1.14.10-r0 apk
|
||||
coreutils 9.4-r2 apk
|
||||
coreutils-env 9.4-r2 apk
|
||||
coreutils-fmt 9.4-r2 apk
|
||||
coreutils-sha512sum 9.4-r2 apk
|
||||
curl 8.6.0-r0 apk
|
||||
dbus-libs 1.14.10-r1 apk
|
||||
double-conversion 3.3.0-r0 apk
|
||||
duktape 2.7.0-r1 apk
|
||||
gdbm 1.23-r1 apk
|
||||
glib 2.78.3-r0 apk
|
||||
glib 2.78.4-r0 apk
|
||||
icu-data-en 74.2-r0 apk
|
||||
icu-libs 74.2-r0 apk
|
||||
jq 1.7.1-r0 apk
|
||||
libacl 2.3.1-r4 apk
|
||||
libattr 2.5.1-r5 apk
|
||||
libacl 2.3.2-r0 apk
|
||||
libattr 2.5.2-r0 apk
|
||||
libb2 0.98.1-r3 apk
|
||||
libblkid 2.39.3-r0 apk
|
||||
libbsd 0.11.8-r0 apk
|
||||
libbz2 1.0.8-r6 apk
|
||||
libc-utils 0.7.2-r5 apk
|
||||
libcrypto1.1 1.1.1w-r0 apk
|
||||
libcrypto3 3.1.4-r4 apk
|
||||
libcurl 8.5.0-r1 apk
|
||||
libexpat 2.5.0-r2 apk
|
||||
libcrypto3 3.1.5-r5 apk
|
||||
libcurl 8.6.0-r0 apk
|
||||
libexpat 2.6.0-r0 apk
|
||||
libffi 3.4.4-r3 apk
|
||||
libgcc 13.2.1_git20231014-r0 apk
|
||||
libgomp 13.2.1_git20231014-r0 apk
|
||||
libidn2 2.3.4-r4 apk
|
||||
libgcc 13.2.1_git20231014-r1 apk
|
||||
libgomp 13.2.1_git20231014-r1 apk
|
||||
libidn2 2.3.7-r0 apk
|
||||
libintl 0.22.4-r0 apk
|
||||
libmd 1.1.0-r0 apk
|
||||
libmount 2.39.3-r0 apk
|
||||
libncursesw 6.4_p20231125-r0 apk
|
||||
libpanelw 6.4_p20231125-r0 apk
|
||||
libpcre2-16 10.42-r2 apk
|
||||
libpcre2-16 10.43-r0 apk
|
||||
libproc2 4.0.4-r0 apk
|
||||
libproxy 0.5.3-r0 apk
|
||||
libpsl 0.21.5-r0 apk
|
||||
libssl1.1 1.1.1w-r0 apk
|
||||
libssl3 3.1.4-r4 apk
|
||||
libstdc++ 13.2.1_git20231014-r0 apk
|
||||
libproxy 0.5.4-r0 apk
|
||||
libpsl 0.21.5-r1 apk
|
||||
libssl3 3.1.5-r5 apk
|
||||
libstdc++ 13.2.1_git20231014-r1 apk
|
||||
libtorrent-rasterbar 2.0.9-r2 apk
|
||||
libunistring 1.1-r2 apk
|
||||
linux-pam 1.5.3-r7 apk
|
||||
mpdecimal 2.5.1-r2 apk
|
||||
mpdecimal 4.0.0-r0 apk
|
||||
mscorlib 4.700.22.56512 dotnet
|
||||
musl 1.2.4_git20230717-r5 apk
|
||||
musl-utils 1.2.4_git20230717-r5 apk
|
||||
musl 1.2.4_git20230717-r6 apk
|
||||
musl-utils 1.2.4_git20230717-r6 apk
|
||||
ncurses-terminfo-base 6.4_p20231125-r0 apk
|
||||
netcat-openbsd 1.226-r0 apk
|
||||
netstandard 4.700.22.56512 dotnet
|
||||
nghttp2-libs 1.58.0-r0 apk
|
||||
nghttp2-libs 1.59.0-r0 apk
|
||||
oniguruma 6.9.9-r0 apk
|
||||
openssl 3.1.4-r4 apk
|
||||
openssl1.1-compat 1.1.1w-r0 apk
|
||||
pcre2 10.42-r2 apk
|
||||
pcre2 10.43-r0 apk
|
||||
procps-ng 4.0.4-r0 apk
|
||||
pyc 3.11.6-r1 apk
|
||||
python3 3.11.6-r1 apk
|
||||
python3-pyc 3.11.6-r1 apk
|
||||
python3-pycache-pyc0 3.11.6-r1 apk
|
||||
pyc 3.11.7-r1 apk
|
||||
python3 3.11.7-r1 apk
|
||||
python3-pyc 3.11.7-r1 apk
|
||||
python3-pycache-pyc0 3.11.7-r1 apk
|
||||
qbittorrent-nox 4.6.3-r0 apk
|
||||
qbt 1.8.24012.1+00a638ba43f1a80a03cc8be139f586ce9886c908 dotnet
|
||||
qt6-qtbase 6.6.1-r0 apk
|
||||
qt6-qtbase-sqlite 6.6.1-r0 apk
|
||||
readline 8.2.7-r0 apk
|
||||
readline 8.2.10-r0 apk
|
||||
scanelf 1.3.7-r2 apk
|
||||
shadow 4.14.2-r0 apk
|
||||
shadow 4.14.4-r0 apk
|
||||
skalibs 2.14.1.0-r0 apk
|
||||
sqlite-libs 3.45.0-r0 apk
|
||||
ssl_client 1.36.1-r18 apk
|
||||
tzdata 2023d-r0 apk
|
||||
sqlite-libs 3.45.1-r0 apk
|
||||
ssl_client 1.36.1-r19 apk
|
||||
tzdata 2024a-r1 apk
|
||||
utmps-libs 0.1.2.2-r0 apk
|
||||
xz-libs 5.4.5-r0 apk
|
||||
zlib 1.3-r2 apk
|
||||
xz-libs 5.4.6-r0 apk
|
||||
zlib 1.3.1-r0 apk
|
||||
zstd-libs 1.5.5-r8 apk
|
||||
|
||||
@@ -33,6 +33,7 @@ param_ports:
|
||||
param_usage_include_env: true
|
||||
param_env_vars:
|
||||
- { env_var: "WEBUI_PORT", env_value: "8080", desc: "for changing the port of the web UI, see below for explanation"}
|
||||
- { env_var: "TORRENTING_PORT", env_value: "6881", desc: "for changing the port of tcp/udp connection, see below for explanation" }
|
||||
|
||||
# application setup block
|
||||
app_setup_block_enabled: true
|
||||
@@ -49,8 +50,17 @@ app_setup_block: |
|
||||
|
||||
For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090
|
||||
|
||||
### TORRENTING_PORT
|
||||
|
||||
A bittorrent client can be an active or a passive node. Running your client as an active node has the advantage of being able to connect to both active and passive peers, and can potentially increase the number of incoming connections. This requires an open port on the host machine which might differ from container's internal one.
|
||||
|
||||
Similarly to the WEBUI_PORT, to set the port to 6887 you need to pass -p 6887:6887, -p 6887:6887/udp and -e TORRENTING_PORT=6887 arguments to Docker.
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "14.02.24:", desc: "Only set/override torrenting port if the optional env var is set." }
|
||||
- { date: "14.02.24:", desc: "Add torrenting port support." }
|
||||
- { date: "31.01.24:", desc: "Remove obsolete compat packages."}
|
||||
- { date: "25.12.23:", desc: "Only pull stable releases of qbittorrent-cli."}
|
||||
- { date: "07.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."}
|
||||
- { date: "10.08.23:", desc: "Bump unrar to 6.2.10."}
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
WEBUI_PORT=${WEBUI_PORT:-8080}
|
||||
if [[ -n "${TORRENTING_PORT}" ]]; then
|
||||
TORRENTING_PORT_ARG="--torrenting-port=${TORRENTING_PORT}"
|
||||
fi
|
||||
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
|
||||
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
|
||||
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" ${TORRENTING_PORT_ARG}
|
||||
|
||||
Reference in New Issue
Block a user