mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 16:14:42 +00:00
feat: resource limits
This commit is contained in:
1 parent
70466bb9b5
commit
3b7456a561
6 files changed
+97
No files matched your search
@@ -55,6 +55,16 @@ return new class extends Migration
|
||||
$table->integer('health_check_retries')->default(10);
|
||||
$table->integer('health_check_start_period')->default(5);
|
||||
|
||||
$table->string('limits_memory')->default("0");
|
||||
$table->string('limits_memory_swap')->default("0");
|
||||
$table->integer('limits_memory_swappiness')->default(60);
|
||||
$table->string('limits_memory_reservation')->default("0");
|
||||
$table->boolean('limits_memory_oom_kill')->default(false);
|
||||
|
||||
$table->string('limits_cpus')->default("0");
|
||||
$table->string('limits_cpuset')->nullable()->default("");
|
||||
$table->integer('limits_cpu_shares')->default(1024);
|
||||
|
||||
$table->string('status')->default('exited');
|
||||
|
||||
$table->nullableMorphs('destination');
|
||||
|
||||
Reference in new issue
Block a user