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: processWithEnv()->run
Andras Bacsai046eab377648
diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.phpindex ab1551ed88..e0d2f68db2 100644--- a/bootstrap/helpers/remoteProcess.php+++ b/bootstrap/helpers/remoteProcess.php@@ -54,7 +54,7 @@ function removePrivateKeyFromSshAgent(Server $server)if (data_get($server, 'privateKey.private_key') === null) {throw new \Exception("Server {$server->name} does not have a private key");}- Process::run("echo '{$server->privateKey->private_key}' | ssh-add -d -");+ processWithEnv()->run("echo '{$server->privateKey->private_key}' | ssh-add -d -");}function addPrivateKeyToSshAgent(Server $server, bool $onlyRemove = false){@@ -62,7 +62,7 @@ function addPrivateKeyToSshAgent(Server $server, bool $onlyRemove = false)throw new \Exception("Server {$server->name} does not have a private key");}// ray('adding key', $server->privateKey->private_key);- Process::run("echo '{$server->privateKey->private_key}' | ssh-add -q -");+ processWithEnv()->run("echo '{$server->privateKey->private_key}' | ssh-add -q -");}function generateSshCommand(string $server_ip, string $user, string $port, string $command, bool $isMux = true)