build: add flyctl docker deploy config

This commit is contained in:
sinkaroid
2023-04-18 13:10:48 +07:00
parent 9c1a4b421e
commit ce7c4020c5

39
fly.toml Normal file
View File

@@ -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"