From 2faf73f5e003752d0a3ab4d16637bd251dfe8af0 Mon Sep 17 00:00:00 2001 From: Phil Crockett Date: Mon, 21 Oct 2024 06:25:02 +0200 Subject: [PATCH] feat: start with smaller volume size, but auto-extend --- fly.template.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fly.template.toml b/fly.template.toml index 4279244..0d9c121 100644 --- a/fly.template.toml +++ b/fly.template.toml @@ -11,8 +11,10 @@ primary_region = "arn" [[mounts]] source = "mollysocket_data" destination = "/app" - initial_size = "3GB" - auto_extend_size_threshold = 0 + initial_size = "1GB" + auto_extend_size_threshold = 80 # extend volume size if we reach 80% capacity + auto_extend_size_increment = "1GB" + auto_extend_size_limit = "3GB" [[vm]] cpu_kind = "shared"