feat(restarts): make resource restart limits opt-in

Default restart limits to zero for applications, previews, and services, and bump the Coolify version to 4.3.21.
This commit is contained in:
Andras Bacsai
2026-09-15 12:58:59 +02:00
parent 8ab54da2ac
commit ab30f95ad9
11 changed files with 78 additions and 9 deletions
+4
View File
@@ -135,6 +135,10 @@ class Application extends BaseModel
private static $parserVersion = '5';
protected $attributes = [
'max_restart_count' => 0,
];
protected $fillable = [
'name',
'description',
+4
View File
@@ -13,6 +13,10 @@ class ApplicationPreview extends BaseModel
{
use HasRestartLimit, SoftDeletes;
protected $attributes = [
'max_restart_count' => 0,
];
protected $fillable = [
'uuid',
'application_id',
+1
View File
@@ -54,6 +54,7 @@ class ServiceApplication extends BaseModel
protected $attributes = [
'is_force_https_enabled' => true,
'max_restart_count' => 0,
];
protected function casts(): array