Fix: ID issues on dev seeders
This commit is contained in:
@@ -31,7 +31,7 @@ class GithubAppSeeder extends Seeder
|
|||||||
'client_id' => 'Iv1.220e564d2b0abd8c',
|
'client_id' => 'Iv1.220e564d2b0abd8c',
|
||||||
'client_secret' => '116d1d80289f378410dd70ab4e4b81dd8d2c52b6',
|
'client_secret' => '116d1d80289f378410dd70ab4e4b81dd8d2c52b6',
|
||||||
'webhook_secret' => '326a47b49054f03288f800d81247ec9414d0abf3',
|
'webhook_secret' => '326a47b49054f03288f800d81247ec9414d0abf3',
|
||||||
'private_key_id' => 1,
|
'private_key_id' => 2,
|
||||||
'team_id' => 0,
|
'team_id' => 0,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ class PrivateKeySeeder extends Seeder
|
|||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
PrivateKey::create([
|
PrivateKey::create([
|
||||||
'id' => 0,
|
|
||||||
'team_id' => 0,
|
'team_id' => 0,
|
||||||
'name' => 'Testing Host Key',
|
'name' => 'Testing Host Key',
|
||||||
'description' => 'This is a test docker container',
|
'description' => 'This is a test docker container',
|
||||||
@@ -28,7 +27,6 @@ uZx9iFkCELtxrh31QJ68AAAAEXNhaWxANzZmZjY2ZDJlMmRkAQIDBA==
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
PrivateKey::create([
|
PrivateKey::create([
|
||||||
'id' => 1,
|
|
||||||
'team_id' => 0,
|
'team_id' => 0,
|
||||||
'name' => 'development-github-app',
|
'name' => 'development-github-app',
|
||||||
'description' => 'This is the key for using the development GitHub app',
|
'description' => 'This is the key for using the development GitHub app',
|
||||||
|
|||||||
@@ -10,12 +10,11 @@ class ServerSeeder extends Seeder
|
|||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
Server::create([
|
Server::create([
|
||||||
'id' => 0,
|
|
||||||
'name' => 'localhost',
|
'name' => 'localhost',
|
||||||
'description' => 'This is a test docker container in development mode',
|
'description' => 'This is a test docker container in development mode',
|
||||||
'ip' => 'coolify-testing-host',
|
'ip' => 'coolify-testing-host',
|
||||||
'team_id' => 0,
|
'team_id' => 0,
|
||||||
'private_key_id' => 0,
|
'private_key_id' => 1,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class ServerSettingSeeder extends Seeder
|
|||||||
*/
|
*/
|
||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
$server_2 = Server::find(0)->load(['settings']);
|
$server_2 = Server::find(1)->load(['settings']);
|
||||||
$server_2->settings->wildcard_domain = 'http://127.0.0.1.sslip.io';
|
$server_2->settings->wildcard_domain = 'http://127.0.0.1.sslip.io';
|
||||||
$server_2->settings->is_build_server = false;
|
$server_2->settings->is_build_server = false;
|
||||||
$server_2->settings->is_usable = true;
|
$server_2->settings->is_usable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user