From c83769e6e0909a8756f2cba456fefed3238ac36b Mon Sep 17 00:00:00 2001 From: Brandon Egger Date: Tue, 23 Apr 2024 16:28:30 -0500 Subject: [PATCH] add health check --- fly.toml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/fly.toml b/fly.toml index f9ac5f3..581599e 100644 --- a/fly.toml +++ b/fly.toml @@ -1,9 +1,9 @@ -# fly.toml app configuration file generated for uiowaatr on 2024-04-22T12:40:29-05:00 +# fly.toml app configuration file generated for uiowa-atr on 2024-04-23T16:22:44-05:00 # # See https://fly.io/docs/reference/configuration/ for information about how to use this file. # -app = 'uiowaatr' +app = 'uiowa-atr' primary_region = 'ord' [build] @@ -16,7 +16,13 @@ primary_region = 'ord' min_machines_running = 0 processes = ['app'] + [[http_service.checks]] + interval = '30s' + timeout = '5s' + grace_period = '10s' + method = 'GET' + path = '/' + [[vm]] memory = '256MB' - cpu_kind = 'shared' - cpus = 1 + size = 'shared-cpu-1x'