An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
new fields in server setttings
ayntk-aif93fe75de9d1
diff --git a/app/Models/ServerSetting.php b/app/Models/ServerSetting.phpindex c39982b91f..1521fab3f2 100644--- a/app/Models/ServerSetting.php+++ b/app/Models/ServerSetting.php@@ -10,10 +10,10 @@ use OpenApi\Attributes as OA;type: 'object',properties: ['id' => ['type' => 'integer'],- 'cleanup_after_percentage' => ['type' => 'integer'],'concurrent_builds' => ['type' => 'integer'],'dynamic_timeout' => ['type' => 'integer'],'force_disabled' => ['type' => 'boolean'],+ 'force_server_cleanup' => ['type' => 'boolean'],'is_build_server' => ['type' => 'boolean'],'is_cloudflare_tunnel' => ['type' => 'boolean'],'is_jump_server' => ['type' => 'boolean'],@@ -37,6 +37,8 @@ use OpenApi\Attributes as OA;'metrics_history_days' => ['type' => 'integer'],'metrics_refresh_rate_seconds' => ['type' => 'integer'],'metrics_token' => ['type' => 'string'],+ 'server_cleanup_frequency' => ['type' => 'string'],+ 'server_cleanup_threshold' => ['type' => 'integer'],'server_id' => ['type' => 'integer'],'wildcard_domain' => ['type' => 'string'],'created_at' => ['type' => 'string'],@@ -47,8 +49,13 @@ class ServerSetting extends Model{protected $guarded = [];+ protected $casts = [+ 'force_server_cleanup' => 'boolean',+ 'server_cleanup_threshold' => 'integer',+ ];+public function server(){return $this->belongsTo(Server::class);}-}+}\ No newline at end of file