about summary refs log tree commit diff stats
path: root/fly.toml
diff options
context:
space:
mode:
authorAlan Pearce2024-04-16 00:46:38 +0200
committerAlan Pearce2024-04-16 00:46:38 +0200
commit2038e626ef78f466d1d138cc3b48b6e522f4b0ed (patch)
treef1b59b0356df5e8244d51f1ac05a9adf24d5e701 /fly.toml
parentf97814c2cdc8d34d5816afe7ed81c841ead84998 (diff)
downloadwebsite-2038e626ef78f466d1d138cc3b48b6e522f4b0ed.tar.lz
website-2038e626ef78f466d1d138cc3b48b6e522f4b0ed.tar.zst
website-2038e626ef78f466d1d138cc3b48b6e522f4b0ed.zip
disable auto-sleep (fly will charge for stopped machines soon)
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/fly.toml b/fly.toml
index d04e736..77017b1 100644
--- a/fly.toml
+++ b/fly.toml
@@ -15,9 +15,9 @@ primary_region = "ams"
 [http_service]
   internal_port = 3000
   force_https = true
-  auto_stop_machines = true
+  auto_stop_machines = false
   auto_start_machines = true
-  min_machines_running = 1
+  min_machines_running = 3
   processes = ["app"]
 [http_service.http_options.response.headers]
   Strict-Transport-Security = "max-age=31536000; includeSubdomains; preload"