Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Add health check

Daoud Clarke146af498a5d7
diff --git a/app.json b/app.json
index aa982b3..6fb409a 100644
--- a/app.json
+++ b/app.json
@@ -3,5 +3,17 @@
"dokku": {
"predeploy": "rm -rf /app/static/* && cp -r /front-end-build/* /app/static/"
}
+ },
+ "healthchecks": {
+ "web": [
+ {
+ "type": "http",
+ "path": "/api/v1/search/?s=rydnik",
+ "attempts": 1,
+ "interval": 600,
+ "grace": 0,
+ "timeout": 10
+ }
+ ]
}
}