wip
This commit is contained in:
@@ -25,7 +25,7 @@ class ApplicationSeeder extends Seeder
|
||||
$github_private_source = GithubApp::find(2);
|
||||
Application::create([
|
||||
'id' => 1,
|
||||
'name' => 'My first application',
|
||||
'name' => 'Public application (from GitHub)',
|
||||
'git_repository' => 'coollabsio/coolify-examples',
|
||||
'git_branch' => 'nodejs-fastify',
|
||||
'build_pack' => 'nixpacks',
|
||||
@@ -39,7 +39,7 @@ class ApplicationSeeder extends Seeder
|
||||
]);
|
||||
Application::create([
|
||||
'id' => 2,
|
||||
'name' => 'My second application',
|
||||
'name' => 'Private application (through GitHub App)',
|
||||
'git_repository' => 'coollabsio/nodejs-example',
|
||||
'git_branch' => 'main',
|
||||
'build_pack' => 'nixpacks',
|
||||
|
||||
@@ -13,12 +13,12 @@ class DBSeeder extends Seeder
|
||||
{
|
||||
$environment_1 = Environment::find(1);
|
||||
$standalone_docker_1 = StandaloneDocker::find(1);
|
||||
Database::create([
|
||||
'id' => 1,
|
||||
'name'=> "My first database",
|
||||
'environment_id' => $environment_1->id,
|
||||
'destination_id' => $standalone_docker_1->id,
|
||||
'destination_type' => StandaloneDocker::class,
|
||||
]);
|
||||
// Database::create([
|
||||
// 'id' => 1,
|
||||
// 'name'=> "My first database",
|
||||
// 'environment_id' => $environment_1->id,
|
||||
// 'destination_id' => $standalone_docker_1->id,
|
||||
// 'destination_type' => StandaloneDocker::class,
|
||||
// ]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,12 +16,12 @@ class ServiceSeeder extends Seeder
|
||||
{
|
||||
$environment_1 = Environment::find(1);
|
||||
$standalone_docker_1 = StandaloneDocker::find(1);
|
||||
Service::create([
|
||||
'id' => 1,
|
||||
'name'=> "My first service",
|
||||
'environment_id' => $environment_1->id,
|
||||
'destination_id' => $standalone_docker_1->id,
|
||||
'destination_type' => StandaloneDocker::class,
|
||||
]);
|
||||
// Service::create([
|
||||
// 'id' => 1,
|
||||
// 'name'=> "My first service",
|
||||
// 'environment_id' => $environment_1->id,
|
||||
// 'destination_id' => $standalone_docker_1->id,
|
||||
// 'destination_type' => StandaloneDocker::class,
|
||||
// ]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user