Add automated Fly.io deployments

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2022-01-21 12:36:36 +05:30
parent 54aa737661
commit fa9a97ce9c
3 changed files with 62 additions and 1 deletions

41
fly.toml Normal file
View File

@@ -0,0 +1,41 @@
app = "basedbin"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
image = "wantguns/bin"
[env]
BIN_LIMITS={form="16 MiB"}
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 6162
processes = ["app"]
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 = 0
timeout = "2s"