wip: ui for services

This commit is contained in:
Andras Bacsai
2023-09-22 11:23:49 +02:00
parent 4ae7e46e81
commit 53d1fa0331
32 changed files with 575 additions and 250 deletions

View File

@@ -15,12 +15,10 @@ return new class extends Migration
$table->id();
$table->string('uuid')->unique();
$table->string('name');
$table->string('human_name')->nullable();
$table->string('status')->default('exited');
$table->string('ports_exposes')->nullable();
$table->string('ports_mappings')->nullable();
$table->foreignId('service_id');
$table->timestamps();
});

View File

@@ -15,24 +15,10 @@ return new class extends Migration
$table->id();
$table->string('uuid')->unique();
$table->string('name');
$table->string('human_name')->nullable();
$table->string('fqdn')->unique()->nullable();
$table->string('ports_exposes')->nullable();
$table->string('ports_mappings')->nullable();
$table->string('health_check_path')->default('/');
$table->string('health_check_port')->nullable();
$table->string('health_check_host')->default('localhost');
$table->string('health_check_method')->default('GET');
$table->integer('health_check_return_code')->default(200);
$table->string('health_check_scheme')->default('http');
$table->string('health_check_response_text')->nullable();
$table->integer('health_check_interval')->default(5);
$table->integer('health_check_timeout')->default(5);
$table->integer('health_check_retries')->default(10);
$table->integer('health_check_start_period')->default(5);
$table->string('status')->default('exited');
$table->foreignId('service_id');