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 docker network connection in StartService.php
Andras Bacsaib01f6ac41459
diff --git a/app/Actions/Service/StartService.php b/app/Actions/Service/StartService.phpindex 1cdc4826db..74bdd81cb8 100644--- a/app/Actions/Service/StartService.php+++ b/app/Actions/Service/StartService.php@@ -22,7 +22,7 @@ class StartService$commands[] = "docker compose pull";$commands[] = "echo '####### Starting containers.'";$commands[] = "docker compose up -d --remove-orphans --force-recreate";- $commands[] = "docker network connect $service->uuid coolify-proxy || true";+ $commands[] = "docker network connect $service->uuid coolify-proxy || true";$compose = data_get($service,'docker_compose',[]);$serviceNames = data_get(Yaml::parse($compose),'services',[]);foreach($serviceNames as $serviceName => $serviceConfig){