ui ui ui ui

This commit is contained in:
Andras Bacsai committed 2024-03-25 11:33:38 +01:00
1 parent a66090b594
commit 9ad6ce5851
41 files changed
+203 -289

No files matched your search

+5
View File
@@ -19,6 +19,11 @@ class ServiceApplication extends BaseModel
$service->fileStorages()->delete();
});
}
public function restart()
{
$container_id = $this->name . '-' . $this->service->uuid;
instant_remote_process(["docker restart {$container_id}"], $this->service->server);
}
public function isLogDrainEnabled()
{
return data_get($this, 'is_log_drain_enabled', false);