about summary refs log tree commit diff stats
path: root/fly.toml
diff options
context:
space:
mode:
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml31
1 files changed, 31 insertions, 0 deletions
diff --git a/fly.toml b/fly.toml
new file mode 100644
index 0000000..e6363d2
--- /dev/null
+++ b/fly.toml
@@ -0,0 +1,31 @@
+# fly.toml file generated for alanpearce-eu on 2023-06-30T19:28:33+02:00
+
+app = "alanpearce-eu"
+kill_signal = "SIGINT"
+kill_timeout = 5
+primary_region = "ams"
+
+[metrics]
+  port = 9091
+  path = "/metrics"
+
+[env]
+  SITE_ROOT = "/srv"
+
+[http_service]
+  internal_port = 8080
+  force_https = true
+  auto_stop_machines = true
+  auto_start_machines = true
+  min_machines_running = 1
+  [http_service.concurrency]
+    type = "requests"
+    soft_limit = 2000
+    hard_limit = 2500
+  [[http_service.checks]]
+    grace_period = "10s"
+    interval = "30s"
+    method = "GET"
+    timeout = "5s"
+    path = "/"
+