From 59eb65ff664f34ab5860cf97542e978599c1584f Mon Sep 17 00:00:00 2001 From: Catherine Date: Wed, 24 Sep 2025 17:32:37 +0000 Subject: [PATCH] Fly.io: enable primary region with 1 machine always running. --- fly.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fly.toml b/fly.toml index 3c29dd7..282d946 100644 --- a/fly.toml +++ b/fly.toml @@ -6,6 +6,8 @@ # - PAGES_STORAGE_S3_SECRET_ACCESS_KEY # - PAGES_STORAGE_S3_BUCKET +primary_region = "fra" + [build] dockerfile = "Dockerfile" @@ -33,6 +35,7 @@ internal_port = 80 protocol = "tcp" auto_stop_machines = "stop" auto_start_machines = true +min_machines_running = 1 [[services.ports]] port = 80 @@ -59,6 +62,7 @@ internal_port = 443 protocol = "tcp" auto_stop_machines = "stop" auto_start_machines = true +min_machines_running = 1 [[services.ports]] port = 443 @@ -92,6 +96,7 @@ protocol = "udp" ports = [{ port = 443 }] auto_stop_machines = "stop" auto_start_machines = true +min_machines_running = 1 # Metrics