about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-23 20:06:02 +0200
committerAlan Pearce2024-06-23 20:06:02 +0200
commite6dd1b5f719ea483f5e77f78c045224607707d0a (patch)
tree1060291180d983c630fc1a63893bf9d76fba0a3c
parent24923a2d99c066031354e11d9a6d5f7363a03f6b (diff)
downloadwebsite-e6dd1b5f719ea483f5e77f78c045224607707d0a.tar.lz
website-e6dd1b5f719ea483f5e77f78c045224607707d0a.tar.zst
website-e6dd1b5f719ea483f5e77f78c045224607707d0a.zip
re-add health check
-rw-r--r--fly.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/fly.toml b/fly.toml
index 3487e95..1ac7973 100644
--- a/fly.toml
+++ b/fly.toml
@@ -22,6 +22,13 @@ primary_region = "ams"
   min_machines_running = 3
   processes = [ "app" ]
 
+  [[http_service.checks]]
+    grace_period = "15s"
+    interval = "15s"
+    method = "GET"
+    timeout = "1s"
+    path = "/health"
+
   [http_service.concurrency]
     type = "requests"
     soft_limit = 15000