An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix sync script
Andras Bacsai45190709954c
diff --git a/app/Console/Commands/SyncToBunnyCDN.php b/app/Console/Commands/SyncToBunnyCDN.phpindex 9b93571324..2333a8d8c6 100644--- a/app/Console/Commands/SyncToBunnyCDN.php+++ b/app/Console/Commands/SyncToBunnyCDN.php@@ -61,10 +61,10 @@ class SyncToBunnyCDN extends Command'AccessKey' => env('BUNNY_API_KEY'),'Accept' => 'application/json',])->get('https://api.bunny.net/purge', [- "url" => e("$bunny_cdn/$bunny_cdn_path/$compose_file"),- "url" => e("$bunny_cdn/$bunny_cdn_path/$compose_file_prod"),- "url" => e("$bunny_cdn/$bunny_cdn_path/$upgrade_script"),- "url" => e("$bunny_cdn/$bunny_cdn_path/$production_env")+ "url" => "$bunny_cdn/$bunny_cdn_path/$compose_file",+ "url" => "$bunny_cdn/$bunny_cdn_path/$compose_file_prod",+ "url" => "$bunny_cdn/$bunny_cdn_path/$upgrade_script",+ "url" => "$bunny_cdn/$bunny_cdn_path/$production_env"]);if ($res->ok()) {echo 'All files uploaded & purged...';diff --git a/scripts/upgrade.sh b/scripts/upgrade.shindex 199989a610..942593bea7 100644--- a/scripts/upgrade.sh+++ b/scripts/upgrade.sh@@ -1,5 +1,5 @@#!/bin/bash## Do not modify this file. You will lost the ability to autoupdate!-VERSION="0.1.1"+VERSION="0.1.0"docker run --pull always -v /data/coolify/source:/data/coolify/source -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/coollabsio/coolify-builder bash -c "APP_TAG=${1:-} docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml up -d --pull always --remove-orphans --force-recreate"