From e4bfc09e1fbc48d5f15f3c20c577c99dcef2f29a Mon Sep 17 00:00:00 2001 From: Bohdan Shulha Date: Fri, 5 Jul 2024 15:04:59 +0200 Subject: [PATCH] fix: #54 disable healthchecks for workers --- app/Models/DeploymentData/Process.php | 1 + config/app.php | 2 +- resources/js/Pages/Services/Partials/DeploymentData.vue | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Models/DeploymentData/Process.php b/app/Models/DeploymentData/Process.php index d25dbc7..7217105 100644 --- a/app/Models/DeploymentData/Process.php +++ b/app/Models/DeploymentData/Process.php @@ -235,6 +235,7 @@ public function asNodeTasks(Deployment $deployment): array 'Labels' => $labels, ] ])->toArray(), + 'HealthCheck' => ['NONE'], 'Hosts' => [ $internalDomain, ], diff --git a/config/app.php b/config/app.php index f467267..0b55a07 100644 --- a/config/app.php +++ b/config/app.php @@ -13,7 +13,7 @@ | */ - 'name' => env('APP_NAME', 'Laravel'), + 'name' => env('APP_NAME', 'Ptah.sh'), /* |-------------------------------------------------------------------------- diff --git a/resources/js/Pages/Services/Partials/DeploymentData.vue b/resources/js/Pages/Services/Partials/DeploymentData.vue index 9504d25..e20919b 100644 --- a/resources/js/Pages/Services/Partials/DeploymentData.vue +++ b/resources/js/Pages/Services/Partials/DeploymentData.vue @@ -344,7 +344,7 @@ const submitProcessRemoval = () => { - + @@ -413,7 +413,7 @@ const submitProcessRemoval = () => { Command - +