diff --git a/fly.toml b/fly.toml index 0b9ea49..c3e6a61 100644 --- a/fly.toml +++ b/fly.toml @@ -22,6 +22,10 @@ kill_timeout = "5s" protocol = "tcp" internal_port = 8080 processes = ["app"] + # https://fly.io/docs/apps/autostart-stop/ + auto_stop_machines = true + auto_start_machines = true + min_machines_running = 0 [[services.ports]] port = 80