From 79744f2607c5f61f793f383ac87fb53273c9aac5 Mon Sep 17 00:00:00 2001 From: haliphax Date: Thu, 22 Feb 2024 11:04:44 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20bump=20memory=20of=20fastapi=20s?= =?UTF-8?q?erver=20to=20512mb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fly.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fly.toml b/fly.toml index 0004618..d63b6c8 100644 --- a/fly.toml +++ b/fly.toml @@ -4,14 +4,14 @@ primary_region = "den" [build] [mounts] -source = "db" destination = "/app/db" +source = "db" [http_service] -internal_port = 3000 -force_https = true -auto_stop_machines = true auto_start_machines = true +auto_stop_machines = true +force_https = true +internal_port = 3000 min_machines_running = 1 processes = ["app"] @@ -23,3 +23,6 @@ path = "/" port = 3000 timeout = "10s" type = "http" + +[[vm]] +memory = 512