diff --git a/fly.toml b/fly.toml index 07b2521..3d95062 100644 --- a/fly.toml +++ b/fly.toml @@ -21,10 +21,14 @@ primary_region = 'dfw' [http_service] internal_port = 8080 force_https = true - auto_stop_machines = false - auto_start_machines = false - min_machines_running = 1 + auto_stop_machines = true + auto_start_machines = true + min_machines_running = 2 processes = ['app'] + [http_service.concurrency] + type = "requests" + soft_limit = 200 + hard_limit = 250 [[http_service.checks]] interval = '5s' @@ -37,3 +41,6 @@ primary_region = 'dfw' memory = '1gb' cpu_kind = 'shared' cpus = 1 + +[deploy] + strategy = "canary"