diff --git a/download-zim-files/run.sh b/download-zim-files/run.sh index a91843b..faeb798 100644 --- a/download-zim-files/run.sh +++ b/download-zim-files/run.sh @@ -55,3 +55,13 @@ fi echo "Download and move completed successfully!" echo "File moved to $DESTINATION" + +# Get the path to the docker-compose.yml file +COMPOSE_FILE="/var/lib/casaos/apps/big-bear-kiwix-serve/docker-compose.yml" + +# Apply changes using casaos-cli +casaos-cli app-management apply "big-bear-kiwix-serve" --file="$COMPOSE_FILE" + +echo "Applying changes to big-bear-kiwix-serve..." + +echo "Script execution completed."