aboutsummaryrefslogtreecommitdiff
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
commita7a6fccb4fbd97c9b25d86db7724715245a99c08 (patch)
tree675582b14e24621361d4fe55ea04e13f4eacca9e
parentblog: update to containerd article (diff)
downloadfcuny.net-a7a6fccb4fbd97c9b25d86db7724715245a99c08.tar.gz
fly: add configuration for fly.io
-rw-r--r--fly.toml40
1 files changed, 40 insertions, 0 deletions
diff --git a/fly.toml b/fly.toml
new file mode 100644
index 0000000..46468c1
--- /dev/null
+++ b/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"