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",