dzmedia/fly.toml

39 lines
747 B
TOML
Raw Normal View History

2023-05-25 23:58:14 +00:00
# fly.toml app configuration file generated for dzmedia on 2023-05-26T01:51:41+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
2022-08-16 15:59:09 +00:00
2023-05-25 23:58:14 +00:00
app = "dzmedia"
primary_region = "fra"
2022-08-16 15:59:09 +00:00
kill_signal = "SIGINT"
2023-05-25 23:58:14 +00:00
kill_timeout = "5s"
2022-08-16 15:59:09 +00:00
[experimental]
2023-05-25 23:58:14 +00:00
cmd = ["./dzmedia"]
2022-08-16 15:59:09 +00:00
[env]
2023-05-25 23:58:14 +00:00
PORT = "8080"
RUST_LOG = "tower_http=trace"
2022-08-16 15:59:09 +00:00
[[services]]
2023-05-25 23:58:14 +00:00
protocol = "tcp"
internal_port = 8080
[[services.ports]]
port = 80
handlers = ["http"]
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 6