Compare commits

...

6 Commits

Author SHA1 Message Date
LinuxServer-CI
a13e4722f7 Bot Updating Package Versions 2024-10-10 16:51:54 +00:00
LinuxServer-CI
95f4150538 Bot Updating Package Versions 2024-10-08 10:11:44 +00:00
Adam
efa08e0e83 Merge pull request #333 from linuxserver/master-dynamic-bind-address 2024-10-08 11:09:04 +01:00
thespad
4573a98e14 Read webui bind address from config if present. 2024-10-07 20:16:53 +01:00
LinuxServer-CI
4437b92c16 Bot Updating Package Versions 2024-10-06 06:52:08 +00:00
LinuxServer-CI
d3597ffea1 Bot Updating Package Versions 2024-09-30 17:49:32 +00:00
4 changed files with 20 additions and 12 deletions

View File

@@ -21,6 +21,7 @@ XDG_DATA_HOME="/config"
RUN \
echo "**** install packages ****" && \
apk add --no-cache \
grep \
icu-libs \
p7zip \
python3 \

View File

@@ -21,6 +21,7 @@ XDG_DATA_HOME="/config"
RUN \
echo "**** install packages ****" && \
apk add --no-cache \
grep \
icu-libs \
p7zip \
python3 \

View File

@@ -183,7 +183,7 @@ bash 5.2.37-r0
brotli-libs 1.1.0-r2 apk
busybox 1.36.1-r32 apk
busybox-binsh 1.36.1-r32 apk
c-ares 1.33.1-r0 apk
c-ares 1.34.1-r0 apk
ca-certificates 20240705-r0 apk
ca-certificates-bundle 20240705-r0 apk
catatonit 0.2.0-r0 apk
@@ -197,7 +197,8 @@ double-conversion 3.3.0-r0
duktape 2.7.0-r1 apk
findutils 4.10.0-r0 apk
gdbm 1.24-r0 apk
glib 2.82.1-r0 apk
glib 2.82.1-r1 apk
grep 3.11-r0 apk
icu-data-en 74.2-r0 apk
icu-libs 74.2-r0 apk
jq 1.7.1-r0 apk
@@ -221,8 +222,8 @@ libncursesw 6.5_p20240601-r1
libpanelw 6.5_p20240601-r1 apk
libpcre2-16 10.43-r0 apk
libproc2 4.0.4-r2 apk
libproxy 0.5.8-r0 apk
libpsl 0.21.5-r2 apk
libproxy 0.5.9-r0 apk
libpsl 0.21.5-r3 apk
libssl3 3.3.2-r2 apk
libstdc++ 14.2.0-r3 apk
libtorrent-rasterbar 2.0.10-r2 apk
@@ -230,7 +231,7 @@ libunistring 1.2-r0
linux-pam 1.6.1-r1 apk
mpdecimal 4.0.0-r0 apk
mscorlib 6.0.3024.21525 dotnet
musl 1.2.5-r3 apk
musl 1.2.5-r5 apk
musl-utils 1.2.5-r3 apk
ncurses-terminfo-base 6.5_p20240601-r1 apk
netcat-openbsd 1.226-r0 apk
@@ -239,11 +240,11 @@ nghttp2-libs 1.63.0-r0
oniguruma 6.9.9-r0 apk
pcre2 10.43-r0 apk
procps-ng 4.0.4-r2 apk
pyc 3.12.6-r0 apk
python3 3.12.6-r0 apk
python3-pyc 3.12.6-r0 apk
python3-pycache-pyc0 3.12.6-r0 apk
qbittorrent-nox 5.0.0-r0 apk
pyc 3.12.7-r0 apk
python3 3.12.7-r0 apk
python3-pyc 3.12.7-r0 apk
python3-pycache-pyc0 3.12.7-r0 apk
qbittorrent-nox 5.0.0-r2 apk
qbt 1.8.24199.1+738bca0d7d7585cf40629f13a59b6198eaf6fe64 dotnet
qt6-qtbase 6.7.2-r2 apk
qt6-qtbase-sqlite 6.7.2-r2 apk
@@ -255,6 +256,6 @@ sqlite-libs 3.46.1-r0
ssl_client 1.36.1-r32 apk
tzdata 2024b-r1 apk
utmps-libs 0.1.2.2-r3 apk
xz-libs 5.6.2-r0 apk
xz-libs 5.6.3-r0 apk
zlib 1.3.1-r2 apk
zstd-libs 1.5.6-r1 apk

View File

@@ -6,6 +6,11 @@ if [[ -n "${TORRENTING_PORT}" ]]; then
TORRENTING_PORT_ARG="--torrenting-port=${TORRENTING_PORT}"
fi
WEBUI_ADDRESS=$(grep -Po "^WebUI\\\Address=\K(.*)" /config/qBittorrent/qBittorrent.conf)
if [[ -z ${WEBUI_ADDRESS} ]] || [[ ${WEBUI_ADDRESS} == "*" ]]; then
WEBUI_ADDRESS="localhost"
fi
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z ${WEBUI_ADDRESS} ${WEBUI_PORT}" \
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" ${TORRENTING_PORT_ARG}