coolify/database/seeders/GitlabAppSeeder.php

39 lines
1014 B
PHP
Raw Normal View History

2023-03-28 12:09:34 +02: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 16:13:53 +02:00
'team_id' => 0,
2023-03-28 12:09:34 +02: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 16:13:53 +02:00
'private_key_id' => 2,
2024-06-10 22:43:34 +02:00
'team_id' => 0,
2023-03-28 12:09:34 +02:00
]);
}
}