about summary refs log tree commit diff stats
path: root/fly.toml
diff options
context:
space:
mode:
authorAlan Pearce2024-06-22 16:07:12 +0200
committerAlan Pearce2024-06-22 19:18:24 +0200
commita049c9cc6b11018e7fc497876ad0402965d87397 (patch)
tree299060da298be0bdf8ea57e3c12f4de7260683a6 /fly.toml
parent0fd65e3f27d6765983656c164b650fc7047ae03e (diff)
downloadwebsite-a049c9cc6b11018e7fc497876ad0402965d87397.tar.lz
website-a049c9cc6b11018e7fc497876ad0402965d87397.tar.zst
website-a049c9cc6b11018e7fc497876ad0402965d87397.zip
add CD to fly
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml22
1 files changed, 8 insertions, 14 deletions
diff --git a/fly.toml b/fly.toml
index 4fc764b..4488c03 100644
--- a/fly.toml
+++ b/fly.toml
@@ -1,4 +1,4 @@
-# fly.toml app configuration file generated for homestead on 2023-09-14T11:40:37+02:00
+# fly.toml app configuration file generated for alanpearce-eu on 2024-06-19T15:17:02+02:00
 #
 # See https://fly.io/docs/reference/configuration/ for information about how to use this file.
 #
@@ -10,18 +10,14 @@ primary_region = "ams"
   image = "registry.fly.io/alanpearce-eu"
 
 [env]
+  BASE_URL = "https://alanpearce.eu"
   PORT = "80"
   REDIRECT_OTHER_HOSTNAMES = "true"
-  BASE_URL = "https://alanpearce.eu"
 
 [[files]]
   guest_path = "/config.toml"
   local_path = "config.toml"
 
-[metrics]
-  port = 9091
-  path = "/metrics"
-
 [http_service]
   internal_port = 80
   force_https = true
@@ -29,18 +25,16 @@ primary_region = "ams"
   auto_start_machines = true
   min_machines_running = 3
   processes = [ "app" ]
+
   [http_service.concurrency]
     type = "requests"
     soft_limit = 15000
+
   [http_service.http_options]
     h2_backend = true
+
     [http_service.http_options.response]
       pristine = true
-  [[http_service.checks]]
-    grace_period = "15s"
-    interval = "30s"
-    method = "GET"
-    timeout = "1s"
-    path = "/health"
-    [http_service.checks.headers]
-      Host = "fly-internal"
+
+[[vm]]
+  size = "shared-cpu-1x"