mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-18 03:20:26 +00:00
feat: Add deterministic UUIDs to development seeders
Add fixed UUIDs to all development seeders for programmatic API access: - Server: localhost - Project: project - Applications: docker-compose, nodejs, dockerfile, dockerfile-pure - StandaloneDocker: docker - StandalonePostgresql: postgresql - S3Storage: minio - PrivateKeys: ssh, github-key - GithubApps: github-public, github-app - GitlabApp: gitlab-public - LocalPersistentVolume: volume 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,7 @@ class ApplicationSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
Application::create([
|
||||
'uuid' => 'docker-compose',
|
||||
'name' => 'Docker Compose Example',
|
||||
'repository_project_id' => 603035348,
|
||||
'git_repository' => 'coollabsio/coolify-examples',
|
||||
@@ -30,6 +31,7 @@ class ApplicationSeeder extends Seeder
|
||||
'source_type' => GithubApp::class,
|
||||
]);
|
||||
Application::create([
|
||||
'uuid' => 'nodejs',
|
||||
'name' => 'NodeJS Fastify Example',
|
||||
'fqdn' => 'http://nodejs.127.0.0.1.sslip.io',
|
||||
'repository_project_id' => 603035348,
|
||||
@@ -45,6 +47,7 @@ class ApplicationSeeder extends Seeder
|
||||
'source_type' => GithubApp::class,
|
||||
]);
|
||||
Application::create([
|
||||
'uuid' => 'dockerfile',
|
||||
'name' => 'Dockerfile Example',
|
||||
'fqdn' => 'http://dockerfile.127.0.0.1.sslip.io',
|
||||
'repository_project_id' => 603035348,
|
||||
@@ -60,6 +63,7 @@ class ApplicationSeeder extends Seeder
|
||||
'source_type' => GithubApp::class,
|
||||
]);
|
||||
Application::create([
|
||||
'uuid' => 'dockerfile-pure',
|
||||
'name' => 'Pure Dockerfile Example',
|
||||
'fqdn' => 'http://pure-dockerfile.127.0.0.1.sslip.io',
|
||||
'git_repository' => 'coollabsio/coolify',
|
||||
@@ -78,6 +82,7 @@ CMD ["nginx", "-g", "daemon off;"]
|
||||
',
|
||||
]);
|
||||
Application::create([
|
||||
'uuid' => 'crashloop',
|
||||
'name' => 'Crash Loop Example',
|
||||
'git_repository' => 'coollabsio/coolify',
|
||||
'git_branch' => 'v4.x',
|
||||
|
||||
Reference in New Issue
Block a user