about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-06-20 13:12:56 -0700
committerFranck Cuny <franck@fcuny.net>2021-06-20 13:18:59 -0700
commitb2295d7610d5471e5ba78fffac98199c3e631c3e (patch)
tree27fa4543901b3f0ec0d6b555d69121637487268b
parentblog: update to containerd article (diff)
downloadworld-b2295d7610d5471e5ba78fffac98199c3e631c3e.tar.gz
fly: add configuration for fly.io
Diffstat (limited to '')
-rw-r--r--users/fcuny/notes/fly.toml40
1 files changed, 40 insertions, 0 deletions
diff --git a/users/fcuny/notes/fly.toml b/users/fcuny/notes/fly.toml
new file mode 100644
index 0000000..46468c1
--- /dev/null
+++ b/users/fcuny/notes/fly.toml
@@ -0,0 +1,40 @@
+# fly.toml file generated for fcunynet on 2021-06-20T10:01:50-07:00
+
+app = "fcunynet"
+
+kill_signal = "SIGINT"
+kill_timeout = 5
+
+[build]
+  builtin = "hugo-static"
+
+[env]
+
+[experimental]
+  allowed_public_ports = []
+  auto_rollback = true
+
+[[services]]
+  http_checks = []
+  internal_port = 8080
+  protocol = "tcp"
+  script_checks = []
+
+  [services.concurrency]
+    hard_limit = 25
+    soft_limit = 20
+    type = "connections"
+
+  [[services.ports]]
+    handlers = ["http"]
+    port = 80
+
+  [[services.ports]]
+    handlers = ["tls", "http"]
+    port = 443
+
+  [[services.tcp_checks]]
+    grace_period = "1s"
+    interval = "15s"
+    restart_limit = 6
+    timeout = "2s"