feat: able to disable container healthchecks

fix: dockerfile based deployments have hc off by default
This commit is contained in:
Andras Bacsai committed 2023-10-01 18:14:13 +02:00
1 parent a922f2fedf
commit 0e1bcceb8e
6 files changed
+74 -19

No files matched your search

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('applications', function (Blueprint $table) {
$table->boolean('health_check_enabled')->default(true);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('applications', function (Blueprint $table) {
$table->dropColumn('health_check_enabled');
});
}
};