personal-servers/fly.toml

40 lines
792 B
TOML
Raw Permalink Normal View History

2023-05-16 12:54:39 -03:00
# fly.toml app configuration file generated for white-wave-7409 on 2023-05-16T12:52:57-03:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
2022-05-03 13:10:33 -03:00
app = "white-wave-7409"
2023-05-16 12:54:39 -03:00
primary_region = "mia"
2022-05-03 13:10:33 -03:00
kill_signal = "SIGINT"
2023-05-16 12:54:39 -03:00
kill_timeout = "5s"
2022-05-03 13:10:33 -03:00
[experimental]
auto_rollback = true
2023-05-16 12:54:39 -03:00
[deploy]
strategy = "rolling"
2022-05-03 13:10:33 -03:00
[[services]]
protocol = "tcp"
2023-05-16 12:54:39 -03:00
internal_port = 8080
min_machines_running = 0
2022-05-03 13:10:33 -03:00
[[services.ports]]
port = 80
2023-05-16 12:54:39 -03:00
handlers = ["http"]
force_https = true
2022-05-03 13:10:33 -03:00
[[services.ports]]
2023-05-16 12:54:39 -03:00
port = 443
2022-05-03 13:10:33 -03:00
handlers = ["tls", "http"]
2023-05-16 12:54:39 -03:00
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
2022-05-03 13:10:33 -03:00
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
2023-05-16 12:54:39 -03:00
grace_period = "1s"
restart_limit = 0