qbittorrent private/public separation

revert from qbit Dockerfile to startup script
remove custom qbittorrent from upgrade script
This commit is contained in:
lucas authored and Lucas Media committed 2026-10-24 15:20:23 +02:00
1 parent a553e51dd7
commit 29de1e0f80
6 files changed
+474 -38

No files matched your search

+18 -18
View File
@@ -250,24 +250,24 @@ if command -v docker >/dev/null 2>&1; then
echo "####################################################"
case "$image" in
qbittorrent-qbittorrent:*)
echo "Updating custom qBittorrent image..."
(
latest="$(curl -s https://api.github.com/repos/qbittorrent/qBittorrent/releases/latest | grep '"tag_name"' | cut -d '"' -f 4 | cut -d '-' -f2)"
current="$(docker exec -it qbittorrent /app/qbittorrent-nox -v | cut -d 'v' -f2)"
if [[ "$LATEST" != "$CURRENT" && "$BUILD" == "true" ]]; then
echo "New version available: $CURRENT -> $LATEST"
cd /docker/qbittorrent &&
docker compose build --pull &&
docker compose up -d
elif [[ "$LATEST" != "$CURRENT" ]]; then
echo "New version available: $CURRENT -> $LATEST"
echo "BUILD is turend off"
else
echo "No new version available: $CURRENT == $LATEST"
fi
)
;;
# qbittorrent-qbittorrent:*)
# echo "Updating custom qBittorrent image..."
# (
# latest="$(curl -s https://api.github.com/repos/qbittorrent/qBittorrent/releases/latest | grep '"tag_name"' | cut -d '"' -f 4 | cut -d '-' -f2)"
# current="$(docker exec -it qbittorrent /app/qbittorrent-nox -v | cut -d 'v' -f2)"
# if [[ "$LATEST" != "$CURRENT" && "$BUILD" == "true" ]]; then
# echo "New version available: $CURRENT -> $LATEST"
# cd /docker/qbittorrent &&
# docker compose build --pull &&
# docker compose up -d
# elif [[ "$LATEST" != "$CURRENT" ]]; then
# echo "New version available: $CURRENT -> $LATEST"
# echo "BUILD is turend off"
# else
# echo "No new version available: $CURRENT == $LATEST"
# fi
# )
# ;;
nextcloud:*)
docker pull "$image"
docker exec -it nextcloud php occ app:update --all