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
Merge branch 'v4' into ijpatricio-wip-9
Andras Bacsai01ec1ed563fb
diff --cc app/Jobs/DeployApplicationJob.phpindex ac93828a13,9a08a052eb..d4a313ef73--- a/app/Jobs/DeployApplicationJob.php+++ b/app/Jobs/DeployApplicationJob.php@@@ -255,10 -278,13 +279,14 @@@ class DeployApplicationJob implements Sreturn $labels;}- private function executeNow(array $command, string $propertyName = null, bool $hideFromOutput = false, $setStatus = false)+ private function executeNow(array|Collection $command, string $propertyName = null, bool $hideFromOutput = false, $setStatus = false){+ static::$batch_counter++;- $commandText = collect($command)->implode("\n");+ if ($command instanceof Collection) {+ $commandText = $command->implode("\n");+ } else {+ $commandText = collect($command)->implode("\n");+ }$this->activity->properties = $this->activity->properties->merge(['command' => $commandText,diff --cc database/seeders/ApplicationSeeder.phpindex c3c6b16aeb,6b5b4a518c..942488adb8--- a/database/seeders/ApplicationSeeder.php+++ b/database/seeders/ApplicationSeeder.php@@@ -40,19 -40,31 +40,31 @@@ class ApplicationSeeder extends Seede'source_id' => $github_public_source->id,'source_type' => GithubApp::class,]);-- Application::create([- 'id' => 2,-- 'name' => 'Private application (through GitHub App)',-- 'git_repository' => 'coollabsio/nodejs-example',-- 'git_branch' => 'main',-- 'build_pack' => 'nixpacks',-- 'ports_exposes' => '3000',-- 'ports_mappings' => '3001:3000',-- 'environment_id' => $environment_1->id,-- 'destination_id' => $standalone_docker_1->id,-- 'destination_type' => StandaloneDocker::class,-- 'source_id' => $github_private_source->id,- 'source_type' => GithubApp::class,- ]);- Application::create([- 'name' => 'Public application (from GitHub through Deploy Key)',- 'git_repository' => 'coollabsio/php',- 'git_branch' => 'main',- 'build_pack' => 'nixpacks',- 'ports_exposes' => '80,3000',- 'ports_mappings' => '3002:80',- 'environment_id' => $environment_1->id,- 'destination_id' => $standalone_docker_1->id,- 'destination_type' => StandaloneDocker::class,- 'source_id' => $github_private_source_with_deploy_key->id,-- 'source_type' => GithubApp::class,-- ]);++ // Application::create([++ // 'name' => 'Private application (through GitHub App)',++ // 'git_repository' => 'coollabsio/nodejs-example',++ // 'git_branch' => 'main',++ // 'build_pack' => 'nixpacks',++ // 'ports_exposes' => '3000',++ // 'ports_mappings' => '3001:3000',++ // 'environment_id' => $environment_1->id,++ // 'destination_id' => $standalone_docker_1->id,++ // 'destination_type' => StandaloneDocker::class,++ // 'source_id' => $github_private_source->id,++ // 'source_type' => GithubApp::class,++ // ]);++ // Application::create([++ // 'name' => 'Public application (from GitHub through Deploy Key)',++ // 'git_repository' => 'coollabsio/php',++ // 'git_branch' => 'main',++ // 'build_pack' => 'nixpacks',++ // 'ports_exposes' => '80,3000',++ // 'ports_mappings' => '3002:80',++ // 'environment_id' => $environment_1->id,++ // 'destination_id' => $standalone_docker_1->id,++ // 'destination_type' => StandaloneDocker::class,++ // 'source_id' => $github_private_source_with_deploy_key->id,++ // 'source_type' => GithubApp::class,++ // ]);}}