diff --git a/apps/server/fly.toml b/apps/server/fly.toml index 3afda9785..56163796e 100644 --- a/apps/server/fly.toml +++ b/apps/server/fly.toml @@ -10,11 +10,18 @@ primary_region = "ams" [build] dockerfile = "./Dockerfile" +[[vm]] + cpu_kind = "shared" + cpus = 1 + memory_mb = 256 + [http_service] internal_port = 3000 force_https = true - auto_stop_machines = false - auto_start_machines = false + auto_stop_machines = true + auto_start_machines = true + min_machines_running = 1 + processes = ["app"] [http_service.concurrency] type = "requests"