lasthourcloud/database/seeders/GitlabAppSeeder.php

39 lines
1013 B
PHP
Raw Permalink Normal View History

2023-03-28 10:09:34 +00:00
<?php
namespace Database\Seeders;
use App\Models\GitlabApp;
use Illuminate\Database\Seeder;
class GitlabAppSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
GitlabApp::create([
'id' => 1,
'name' => 'Public GitLab',
'api_url' => 'https://gitlab.com/api/v4',
'html_url' => 'https://gitlab.com',
'is_public' => true,
2023-08-11 14:13:53 +00:00
'team_id' => 0,
2023-03-28 10:09:34 +00:00
]);
GitlabApp::create([
'id' => 2,
'name' => 'coolify-laravel-development-private-gitlab',
'api_url' => 'https://gitlab.com/api/v4',
'html_url' => 'https://gitlab.com',
'app_id' => 1234,
'app_secret' => '1234',
'oauth_id' => 1234,
'deploy_key_id' => '1234',
'public_key' => 'dfjasiourj',
'webhook_token' => '4u3928u4y392',
2023-08-11 14:13:53 +00:00
'private_key_id' => 2,
'team_id' => 0
2023-03-28 10:09:34 +00:00
]);
}
}