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
chore: Add comment explaining the purpose of disconnecting the network in cleanup_unused_network_from_coolify_proxy()
Andras Bacsai3269ca3eb88c
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.phpindex 754b95e6b5..5789d32fc1 100644--- a/app/Console/Commands/Init.php+++ b/app/Console/Commands/Init.php@@ -107,6 +107,7 @@ class Init extends Command} else {$data = collect(json_decode($out, true));if ($data->count() === 1) {+ // If only coolify-proxy itself is connected to that network (it should not be possible, but who knows)$isCoolifyProxyItself = data_get($data->first(), 'Name') === 'coolify-proxy';if ($isCoolifyProxyItself) {$commands->push("docker network disconnect $network coolify-proxy >/dev/null 2>&1 || true");