From ce7c4020c54038ac17187fcfabc180758a1886e7 Mon Sep 17 00:00:00 2001 From: sinkaroid Date: Tue, 18 Apr 2023 13:10:48 +0700 Subject: [PATCH] build: add flyctl docker deploy config --- 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..db24634 --- /dev/null +++ b/fly.toml @@ -0,0 +1,39 @@ +# fly.toml file generated for lust on 2023-04-18T12:01:37+07:00 + +app = "lust" +kill_signal = "SIGINT" +kill_timeout = 5 +processes = [] + +[env] + +[experimental] + auto_rollback = true + +[[services]] + autostart = true + autostop = false + http_checks = [] + internal_port = 3000 + 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"