From da527b108bd0d830d4281f64db3850b351e245c8 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Tue, 6 Jul 2021 22:38:40 +0000 Subject: [PATCH] wip --- fly.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 fly.toml diff --git a/fly.toml b/fly.toml new file mode 100644 index 0000000..b8bef9c --- /dev/null +++ b/fly.toml @@ -0,0 +1,40 @@ +# fly.toml file generated for codebench-front on 2021-07-05T15:01:31Z + +app = "codebench-front" + +kill_signal = "SIGINT" +kill_timeout = 5 + +[build] + image = "rg.fr-par.scw.cloud/codebench/front:fly" + +[env] + +[experimental] + allowed_public_ports = [] + auto_rollback = true + +[[services]] + http_checks = [] + internal_port = 80 + 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 = 6 + timeout = "2s"