From b4e50661501441cc371fd2d7000793fa572186fb Mon Sep 17 00:00:00 2001 From: Austin Rooks Date: Thu, 19 Oct 2023 09:18:21 -0500 Subject: [PATCH] add health check to fly config --- fly.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fly.toml b/fly.toml index 1b29602..a829701 100644 --- a/fly.toml +++ b/fly.toml @@ -15,3 +15,10 @@ primary_region = "bos" auto_start_machines = true min_machines_running = 1 processes = ["app"] + +[[http_service.checks]] + grace_period = "10s" + interval = "30s" + method = "GET" + timeout = "5s" + path = "/health_check"