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 same ssh key in different teams
peaklabs-deva58125cbfe62
diff --git a/app/Models/PrivateKey.php b/app/Models/PrivateKey.phpindex 065746edee..fe8a594db7 100644--- a/app/Models/PrivateKey.php+++ b/app/Models/PrivateKey.php@@ -218,13 +218,11 @@ class PrivateKey extends BaseModelprivate static function fingerprintExists($fingerprint, $excludeId = null){- $query = self::where('fingerprint', $fingerprint);-- if (! is_null($excludeId)) {- $query->where('id', '!=', $excludeId);- }-- return $query->exists();+ return self::query()+ ->where('fingerprint', $fingerprint)+ ->where('team_id', currentTeam()->id)+ ->when($excludeId, fn ($query) => $query->where('id', '!=', $excludeId))+ ->exists();}public static function cleanupUnusedKeys()