From 57e251e122e0f0d54c90103380aa83f80f0651fb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 1 Jul 2023 07:34:41 +0200 Subject: Deploy to fly.io --- fly.toml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 fly.toml (limited to 'fly.toml') 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 = "/" + -- cgit 1.4.1