diff --git a/apps/checker/fly.toml b/apps/checker/fly.toml index 609b96560e..8c8b52f4bc 100644 --- a/apps/checker/fly.toml +++ b/apps/checker/fly.toml @@ -19,7 +19,7 @@ primary_region = "ams" [http_service] internal_port = 8080 force_https = true - auto_stop_machines = false + auto_stop_machines = "off" auto_start_machines = false processes = ["app"] diff --git a/apps/server/fly.toml b/apps/server/fly.toml index d2dac027fd..e02fb6f8d0 100644 --- a/apps/server/fly.toml +++ b/apps/server/fly.toml @@ -18,11 +18,11 @@ primary_region = "ams" [http_service] internal_port = 3000 force_https = true - auto_stop_machines = true + auto_stop_machines = "suspend" auto_start_machines = true min_machines_running = 1 - processes = ["app"] + [http_service.concurrency] type = "requests" hard_limit = 1000 @@ -38,6 +38,9 @@ primary_region = "ams" timeout = "5s" path = "/ping" +[env] + NODE_ENV = "production" + PORT = "3000" # [checks]