From d123808d24ff3729382e4b097d39fcfab1056e8b Mon Sep 17 00:00:00 2001 From: David Pratten Date: Thu, 9 Mar 2023 07:44:54 +1100 Subject: [PATCH] Add initial version of fly.toml for deployment to fly.io --- fly.toml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 fly.toml diff --git a/fly.toml b/fly.toml new file mode 100644 index 0000000..fa7369e --- /dev/null +++ b/fly.toml @@ -0,0 +1,39 @@ +# fly.toml file generated for shy-feather-8158 on 2023-03-08T21:24:24+11:00 + +app = "jetisu" +kill_signal = "SIGINT" +kill_timeout = 5 + +[build] + image = "ghcr.io/davidpratten/jetisu:latest" + +[env] + +[experimental] + auto_rollback = true + +[[services]] + http_checks = [] + internal_port = 8888 + processes = ["app"] + protocol = "tcp" + script_checks = [] + [services.concurrency] + hard_limit = 25 + soft_limit = 20 + type = "connections" + + [[services.ports]] + force_https = true + handlers = ["http"] + port = 80 + + [[services.ports]] + handlers = ["tls", "http"] + port = 443 + + [[services.tcp_checks]] + grace_period = "1s" + interval = "15s" + restart_limit = 0 + timeout = "2s"