wip: services
feat: able to map port<->domain
This commit is contained in:
@@ -12,6 +12,7 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('services', function (Blueprint $table) {
|
||||
$table->longText('description')->nullable();
|
||||
$table->longText('docker_compose_raw');
|
||||
$table->longText('docker_compose')->nullable();
|
||||
|
||||
@@ -24,6 +25,7 @@ return new class extends Migration
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('services', function (Blueprint $table) {
|
||||
$table->dropColumn('description');
|
||||
$table->dropColumn('docker_compose_raw');
|
||||
$table->dropColumn('docker_compose');
|
||||
});
|
||||
|
||||
@@ -16,6 +16,10 @@ return new class extends Migration
|
||||
$table->string('uuid')->unique();
|
||||
$table->string('name');
|
||||
$table->string('human_name')->nullable();
|
||||
$table->longText('description')->nullable();
|
||||
|
||||
$table->longText('ports')->nullable();
|
||||
$table->longText('exposes')->nullable();
|
||||
|
||||
$table->string('status')->default('exited');
|
||||
|
||||
|
||||
@@ -16,8 +16,11 @@ return new class extends Migration
|
||||
$table->string('uuid')->unique();
|
||||
$table->string('name');
|
||||
$table->string('human_name')->nullable();
|
||||
$table->longText('description')->nullable();
|
||||
|
||||
$table->string('fqdn')->unique()->nullable();
|
||||
$table->longText('ports')->nullable();
|
||||
$table->longText('exposes')->nullable();
|
||||
|
||||
$table->string('status')->default('exited');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user