blumeops/fly/fly.toml
Erich Blume f6febb1f77
All checks were successful
Deploy Fly.io Proxy / deploy (push) Successful in 34s
C0: switch fly proxy deploy strategy to immediate
Bluegreen kept timing out — the new green machine couldn't reach
"started" within Fly's 5-minute deploy budget. The cold-start sequence
(tailscaled → tailscale up → wait-for-MagicDNS → nginx startup) eats
most of that, leaving no headroom for healthcheck propagation.

For a single-machine proxy, bluegreen offers little benefit anyway:
no warm second instance, so trading 5-10s of downtime for predictable
completion is the right call.
2026-05-28 07:59:22 -07:00

33 lines
598 B
TOML

app = "blumeops-proxy"
primary_region = "sjc"
[build]
[[vm]]
memory = "512mb"
[deploy]
strategy = "immediate"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "off"
auto_start_machines = true
min_machines_running = 1
[[http_service.checks]]
grace_period = "15s"
interval = "10s"
method = "GET"
path = "/healthz"
timeout = "5s"
# Expose Tailscale's WireGuard port so direct peer-to-peer connections can
# establish instead of falling back to DERP relay. Requires a dedicated IPv4.
[[services]]
internal_port = 41641
protocol = "udp"
[[services.ports]]
port = 41641