From 6012910c1596e0000dcaab315c4c5ee3f1364de1 Mon Sep 17 00:00:00 2001 From: Honza Javorek Date: Tue, 23 May 2023 21:52:54 +0200 Subject: [PATCH] migrate to v2 fly.io --- fly.toml | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/fly.toml b/fly.toml index 7c4cc56..bfd9377 100644 --- a/fly.toml +++ b/fly.toml @@ -1,37 +1,39 @@ +# fly.toml app configuration file generated for juniorguru-chick on 2023-05-23T21:51:54+02:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + app = "juniorguru-chick" +primary_region = "ams" kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] - -[env] - PORT = "8080" +kill_timeout = "5s" [experimental] auto_rollback = true +[env] + PORT = "8080" + [[services]] - http_checks = [] + protocol = "tcp" internal_port = 8080 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 + handlers = ["http"] + force_https = true [[services.ports]] - handlers = ["tls", "http"] port = 443 + handlers = ["tls", "http"] + [services.concurrency] + type = "connections" + hard_limit = 25 + soft_limit = 20 [[services.tcp_checks]] - grace_period = "1s" interval = "15s" - restart_limit = 0 timeout = "2s" + grace_period = "1s" + restart_limit = 0