mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 12:13:41 +00:00
feat: able to disable container healthchecks
fix: dockerfile based deployments have hc off by default
This commit is contained in:
1 parent
a922f2fedf
commit
0e1bcceb8e
6 files changed
+74
-19
No files matched your search
@@ -231,4 +231,12 @@ class Application extends BaseModel
|
||||
}
|
||||
return true;
|
||||
}
|
||||
public function isHealthcheckDisabled(): bool
|
||||
{
|
||||
if (data_get($this, 'dockerfile') || data_get($this, 'build_pack') === 'dockerfile' || data_get($this,'health_check_enabled') === false) {
|
||||
ray('dockerfile');
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user