chore: convert all CHECKS files to healthchecks

This commit is contained in:
Jose Diaz-Gonzalez
2023-10-15 00:22:24 -04:00
parent 678757d55f
commit a89b8d6213
46 changed files with 364 additions and 134 deletions

View File

@@ -1,5 +0,0 @@
WAIT=2 # wait 2 seconds
TIMEOUT=5 # set timeout to 5 seconds
ATTEMPTS=2 # try 2 times
/ python/http.server

View File

@@ -1,8 +1,21 @@
{
"healthchecks": {
"web": [
{
"attempts": 2,
"content": "python/http.server",
"name": "check-1",
"path": "/",
"timeout": 5,
"type": "startup",
"wait": 2
}
]
},
"scripts": {
"dokku": {
"predeploy": "touch /app/predeploy.test",
"postdeploy": "touch /app/postdeploy.test"
"postdeploy": "touch /app/postdeploy.test",
"predeploy": "touch /app/predeploy.test"
}
}
}
}