feat: add health check configuration to Liara deployment
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user