lasthourcloud/scripts/cloud_upgrade.sh
Gary fe0f5321be update index.blade.php
update install.sh
update upgrade.sh
update cloud_upgrade.sh
update run
2024-09-16 09:11:52 -07:00

10 lines
337 B
Bash

set -e
export IMAGE=$1
docker system prune -af
docker compose pull
read -p "Press Enter to update Last Hour Cloud to $IMAGE..." </dev/tty
docker exec coolify sh -c "php artisan tinker --execute='isAnyDeploymentInprogress()'"
docker compose up --remove-orphans --force-recreate -d --wait
echo $IMAGE > last_version
docker compose logs -f