add docker compose up to upgrade.sh

This commit is contained in:
lucas committed 2026-10-04 19:42:37 +00:00
1 parent 5b7cb93ebe
commit 3514f3e489
1 file changed
+14
+14
View File
@@ -219,6 +219,10 @@ if command -v docker >/dev/null 2>&1; then
docker images --format "{{.Repository}}:{{.Tag}}" |
while read -r image; do
echo "####################################################"
echo "### $image"
echo "####################################################"
case "$image" in
qbittorrent-qbittorrent:*)
echo "Updating custom qBittorrent image..."
@@ -254,11 +258,21 @@ if [ -f /docker/qbittorrent/docker-compose.yml ]; then
docker compose up -d
fi
fi
for d in /docker/*; do
if [ -d $d ]; then
docker compose -f $d/docker-compose.yaml up -d
fi
done
docker container prune -f
docker network prune -f
docker image prune -a -f
docker builder prune -f
###############################################################################
# Mail Report
###############################################################################