Merge remote-tracking branch 'origin/next' into feat/noindex-domains

This commit is contained in:
Andras Bacsai
2026-08-08 11:26:20 +02:00
1274 changed files with 156179 additions and 25249 deletions
+19 -7
View File
@@ -19,6 +19,8 @@ class ServiceApplication extends BaseModel
'description',
'fqdn',
'noindex_domains',
'redirect',
'domain_dns_statuses',
'ports',
'exposes',
'status',
@@ -33,6 +35,23 @@ class ServiceApplication extends BaseModel
'is_migrated',
];
/**
* Internal DNS check cache not part of the public API surface.
*
* @var list<string>
*/
protected $hidden = [
'domain_dns_statuses',
];
protected function casts(): array
{
return [
'domain_dns_statuses' => 'array',
'noindex_domains' => 'array',
];
}
protected static function booted()
{
static::deleting(function ($service) {
@@ -50,13 +69,6 @@ class ServiceApplication extends BaseModel
});
}
protected function casts(): array
{
return [
'noindex_domains' => 'array',
];
}
public function restart()
{
$container_id = $this->name.'-'.$this->service->uuid;