Skip to content

Commit

Permalink
feat: add new checks to fix enhance deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-zarrad authored Sep 15, 2024
1 parent 63672c5 commit 3f38663
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"healthchecks": {
"web": [
{
"type": "startup",
"name": "check swagger",
"description": "Checking if the app responds to the /swagger endpoint",
"path": "/swagger",
"content": "<!DOCTYPE html>",
"attempts": 3
},
{
"type": "startup",
"name": "check stats",
"description": "Checking if the app responds to the /v1/stats endpoint",
"path": "/v1/stats/",
"content": "{",
"attempts": 3
}
]
}
}

0 comments on commit 3f38663

Please sign in to comment.