From 6522dd7a05a7d40b843ceb2f029436e915ef172b Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Tue, 16 May 2023 12:54:39 -0300 Subject: [PATCH] upgraded to v2 --- fly.toml | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/fly.toml b/fly.toml index d3869e6..9edb4e2 100644 --- a/fly.toml +++ b/fly.toml @@ -1,40 +1,39 @@ -# fly.toml file generated for white-wave-7409 on 2022-05-02T16:24:11-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. +# app = "white-wave-7409" - +primary_region = "mia" kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] +kill_timeout = "5s" + +[experimental] + auto_rollback = true [deploy] strategy = "rolling" -[env] - -[experimental] - allowed_public_ports = [8080] - auto_rollback = true - [[services]] - internal_port = 8080 protocol = "tcp" + internal_port = 8080 + min_machines_running = 0 + [[services.ports]] + port = 80 + handlers = ["http"] + force_https = true + + [[services.ports]] + port = 443 + handlers = ["tls", "http"] [services.concurrency] + type = "connections" 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" + grace_period = "1s" + restart_limit = 0