From 15ce82102ec72df59c78298f9e070014a12ba4f6 Mon Sep 17 00:00:00 2001 From: Thibault Le Ouay Date: Sat, 2 Dec 2023 17:43:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20(#498)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/server/fly.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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" -- 2.54.0