mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix: disable dockerfile based healtcheck for now
This commit is contained in:
parent
fa4f5fea8c
commit
9eba058cf7
1 changed files with 5 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ class ApplicationDeploymentJob implements ShouldQueue
|
|||
$this->destination->network => [
|
||||
'external' => true,
|
||||
'name' => $this->destination->network,
|
||||
'attachable' => true,
|
||||
'attachable' => true
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
@ -640,6 +640,10 @@ class ApplicationDeploymentJob implements ShouldQueue
|
|||
|
||||
private function generate_healthcheck_commands()
|
||||
{
|
||||
if ($this->application->dockerfile) {
|
||||
// TODO: disabled HC because there are several ways to hc a simple docker image, hard to figure out a good way. Like some docker images (pocketbase) does not have curl.
|
||||
return 'exit 0';
|
||||
}
|
||||
if (!$this->application->health_check_port) {
|
||||
$this->application->health_check_port = $this->application->ports_exposes_array[0];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue