From 49183cc49ad75c35200ede51268090c93f63c61f Mon Sep 17 00:00:00 2001 From: Sami Ekblad Date: Fri, 12 Jul 2024 08:31:56 +0300 Subject: [PATCH] Deployment --- fly.toml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/fly.toml b/fly.toml index 8118fe0..3496c41 100644 --- a/fly.toml +++ b/fly.toml @@ -6,21 +6,16 @@ app = 'spring-ai-chat' primary_region = 'arn' -[build] - [http_service] internal_port = 8080 force_https = true auto_stop_machines = true auto_start_machines = true - min_machines_running = 1 - processes = ['app'] + min_machines_running = 0 + processes = ["app"] -[[vm]] - size = 'a100-40gb' - memory = '2gb' - cpu_kind = 'shared' - cpus = 1 +[vm] + size = "a100-40gb" [mounts] source = "models"