From a198a96882c65ec54a9cd4da78766d12f4160040 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Sat, 20 Sep 2025 09:17:02 -0400 Subject: [PATCH] Fix Fly.io deployment health check configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace legacy [[services.http_checks]] with modern [[http_service.checks]] - Increase health check timeout from 2s to 10s for better reliability - Remove redundant services configuration block - Resolves deployment timeouts during health check validation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- fly.toml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/fly.toml b/fly.toml index 55ca3e548..85b82a596 100644 --- a/fly.toml +++ b/fly.toml @@ -19,28 +19,12 @@ primary_region = 'iad' auto_start_machines = true min_machines_running = 0 -[[services]] - protocol = 'tcp' - internal_port = 8080 - processes = ['app'] - - [[services.ports]] - port = 80 - handlers = ['http'] - force_https = true - - [[services.ports]] - port = 443 - handlers = ['tls', 'http'] - - [[services.http_checks]] - interval = '15s' - timeout = '2s' + [[http_service.checks]] grace_period = '10s' - method = 'get' + interval = '15s' + timeout = '10s' + method = 'GET' path = '/health' - protocol = 'http' - tls_skip_verify = false [[vm]] cpu_kind = 'shared'