From 60a62489d5e6d658aa0369c174a95bad758d801a Mon Sep 17 00:00:00 2001 From: hamed <15238-genius.ha@users.noreply.drupalcode.org> Date: Mon, 29 Jun 2026 17:07:06 +0330 Subject: [PATCH] feat: add health check configuration to Liara deployment --- liara.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/liara.json b/liara.json index 52b57898..bc7aa608 100644 --- a/liara.json +++ b/liara.json @@ -8,6 +8,13 @@ "php": { "version": "8.3" }, + "healthCheck": { + "command": "php -r '$h=@get_headers(\"http://127.0.0.1:80/health\"); exit($h && strpos($h[0],\" 200\")!==false ? 0 : 1);'", + "interval": 15, + "timeout": 5, + "retries": 5, + "startPeriod": 60 + }, "disks": [ { "name": "jwt",