Add fly config

This commit is contained in:
Trevor Blades
2022-02-16 22:58:52 -08:00
parent 2a26db1c48
commit 262ae08628

View File

@@ -1,5 +1,10 @@
# fly.toml file generated for empty-cherry-6843 on 2021-07-26T09:56:09-07:00
app = "empty-cherry-6843" app = "empty-cherry-6843"
kill_signal = "SIGINT"
kill_timeout = 5
[build] [build]
builder = "heroku/buildpacks:20" builder = "heroku/buildpacks:20"
@@ -8,9 +13,20 @@ app = "empty-cherry-6843"
APOLLO_GRAPH_REF = "Countries-gxmwa8@current" APOLLO_GRAPH_REF = "Countries-gxmwa8@current"
APOLLO_SCHEMA_REPORTING = true APOLLO_SCHEMA_REPORTING = true
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]] [[services]]
http_checks = []
internal_port = 8080 internal_port = 8080
protocol = "tcp" protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]] [[services.ports]]
handlers = ["http"] handlers = ["http"]
@@ -19,3 +35,9 @@ app = "empty-cherry-6843"
[[services.ports]] [[services.ports]]
handlers = ["tls", "http"] handlers = ["tls", "http"]
port = 443 port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 6
timeout = "2s"