From dfb152b6a1674be737476c91bd2aa61f991caae5 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 29 Nov 2025 13:52:34 -0500 Subject: [PATCH] Revert to min_machines_running = 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keep blue-green deployment strategy but with single minimum machine to reduce costs. During deployment, Fly.io will: - Start new machine (green) - Run health checks - Switch traffic - Stop old machine (blue) Note: This may have brief startup time during deployment, but significantly reduces operating costs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- fly.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fly.toml b/fly.toml index e4869b8..a093179 100644 --- a/fly.toml +++ b/fly.toml @@ -14,9 +14,9 @@ strategy = "bluegreen" [http_service] internal_port = 8000 force_https = true -auto_stop_machines = 'off' +auto_stop_machines = 'suspend' auto_start_machines = true -min_machines_running = 2 +min_machines_running = 1 processes = ['app'] [http_service.concurrency]