Able to backup Coolify itself
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\GithubApp;
|
||||
use App\Models\PrivateKey;
|
||||
use App\Models\Team;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class GithubAppSeeder extends Seeder
|
||||
@@ -14,14 +12,12 @@ class GithubAppSeeder extends Seeder
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$root_team = Team::find(0);
|
||||
$private_key_2 = PrivateKey::find(1);
|
||||
GithubApp::create([
|
||||
'name' => 'Public GitHub',
|
||||
'api_url' => 'https://api.github.com',
|
||||
'html_url' => 'https://github.com',
|
||||
'is_public' => true,
|
||||
'team_id' => $root_team->id,
|
||||
'team_id' => 0,
|
||||
]);
|
||||
GithubApp::create([
|
||||
'name' => 'coolify-laravel-development-public',
|
||||
@@ -34,8 +30,8 @@ class GithubAppSeeder extends Seeder
|
||||
'client_id' => 'Iv1.220e564d2b0abd8c',
|
||||
'client_secret' => '116d1d80289f378410dd70ab4e4b81dd8d2c52b6',
|
||||
'webhook_secret' => '326a47b49054f03288f800d81247ec9414d0abf3',
|
||||
'private_key_id' => $private_key_2->id,
|
||||
'team_id' => $root_team->id,
|
||||
'private_key_id' => 1,
|
||||
'team_id' => 0,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user