Skip to content

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.

feat(seeders): add GitHub deploy key example application

Andras Bacsai9724d7391dd9
diff --git a/database/seeders/ApplicationSeeder.php b/database/seeders/ApplicationSeeder.php
index 70fb13a0d3..2a0273e0f9 100644
--- a/database/seeders/ApplicationSeeder.php
+++ b/database/seeders/ApplicationSeeder.php
@@ -99,6 +99,21 @@ CMD ["nginx", "-g", "daemon off;"]
CMD ["sh", "-c", "echo Crashing in 5 seconds... && sleep 5 && exit 1"]
',
]);
+ Application::create([
+ 'uuid' => 'github-deploy-key',
+ 'name' => 'GitHub Deploy Key Example',
+ 'fqdn' => 'http://github-deploy-key.127.0.0.1.sslip.io',
+ 'git_repository' => '[email protected]:coollabsio/coolify-examples-deploy-key.git',
+ 'git_branch' => 'main',
+ 'build_pack' => 'nixpacks',
+ 'ports_exposes' => '80',
+ 'environment_id' => 1,
+ 'destination_id' => 0,
+ 'destination_type' => StandaloneDocker::class,
+ 'source_id' => 0,
+ 'source_type' => GithubApp::class,
+ 'private_key_id' => 1,
+ ]);
Application::create([
'uuid' => 'gitlab-deploy-key',
'name' => 'GitLab Deploy Key Example',