about summary refs log tree commit diff stats
path: root/fly.toml
diff options
context:
space:
mode:
authorAlan Pearce2023-09-15 19:35:23 +0200
committerAlan Pearce2023-09-15 19:35:23 +0200
commit6474b1db0a4f8bdf3c83acd329cf822a9f45f563 (patch)
tree598a1e3bdc25c4d6f75773925d83a46bbbe19859 /fly.toml
parentc936c99fad7e090a3caaaa6bdd5fbaf38d39abba (diff)
parente718339d93e2f60b6df55330aafb2d9536820ce4 (diff)
downloadwebsite-6474b1db0a4f8bdf3c83acd329cf822a9f45f563.tar.lz
website-6474b1db0a4f8bdf3c83acd329cf822a9f45f563.tar.zst
website-6474b1db0a4f8bdf3c83acd329cf822a9f45f563.zip
Merge homestead repository
Diffstat (limited to 'fly.toml')
-rw-r--r--fly.toml45
1 files changed, 14 insertions, 31 deletions
diff --git a/fly.toml b/fly.toml
index 4b06784..d58112b 100644
--- a/fly.toml
+++ b/fly.toml
@@ -1,38 +1,21 @@
+# fly.toml app configuration file generated for homestead on 2023-09-14T11:40:37+02:00
+#
+# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
+#
+
 app = "alanpearce-eu"
-kill_signal = "SIGINT"
-kill_timeout = 5
 primary_region = "ams"
 
+[build]
+
 [metrics]
   port = 9091
   path = "/metrics"
 
-[env]
-  CADDY_CLUSTERING_REDIS_HOST = "fly-caddy-storage.upstash.io"
-  SITE_ROOT = "/srv"
-
-[[services]]
-  internal_port = 80
-  protocol = "tcp"
-  [services.concurrency]
-    type = "connections"
-    hard_limit = 200
-    soft_limit = 100
-  [[services.ports]]
-    handlers = ["http"]
-    port = 80
-  [[services.ports]]
-    handlers = ["tls"]
-    port = "443"
-    tls_options = { "alpn" = ["h2"] }
-  [[services.http_checks]]
-    interval = 10000
-    grace_period = "5s"
-    method = "head"
-    path = "/"
-    protocol = "http"
-    restart_limit = 0
-    timeout = 2000
-    tls_skip_verify = false
-    [services.http_checks.headers]
-    Host = "alanpearce.eu"
+[http_service]
+  internal_port = 3000
+  force_https = true
+  auto_stop_machines = false
+  auto_start_machines = true
+  min_machines_running = 3
+  processes = ["app"]