lasthourcloud/database/seeders/ServerSeeder.php
2023-08-11 16:13:53 +02:00

26 lines
647 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Server;
use Illuminate\Database\Seeder;
class ServerSeeder extends Seeder
{
public function run(): void
{
Server::create([
'id' => 0,
'name' => "testing-local-docker-container",
'description' => "This is a test docker container",
'ip' => "coolify-testing-host",
'team_id' => 0,
'private_key_id' => 0,
// 'proxy' => ServerMetadata::from([
// 'type' => ProxyTypes::TRAEFIK_V2->value,
// 'status' => ProxyStatus::EXITED->value
// ]),
]);
}
}