Add fixed UUIDs to all development seeders for programmatic API access: - Server: localhost - Project: project - Applications: docker-compose, nodejs, dockerfile, dockerfile-pure - StandaloneDocker: docker - StandalonePostgresql: postgresql - S3Storage: minio - PrivateKeys: ssh, github-key - GithubApps: github-public, github-app - GitlabApp: gitlab-public - LocalPersistentVolume: volume 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
612 B
PHP
27 lines
612 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\S3Storage;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class S3StorageSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
S3Storage::create([
|
|
'uuid' => 'minio',
|
|
'name' => 'Local MinIO',
|
|
'description' => 'Local MinIO S3 Storage',
|
|
'key' => 'minioadmin',
|
|
'secret' => 'minioadmin',
|
|
'bucket' => 'local',
|
|
'endpoint' => 'http://coolify-minio:9000',
|
|
'team_id' => 0,
|
|
'is_usable' => true,
|
|
]);
|
|
}
|
|
}
|