Fly.io: enable primary region with 1 machine always running.

This commit is contained in:
Catherine
2025-09-24 17:32:37 +00:00
parent c6330ccffc
commit 59eb65ff66

View File

@@ -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