mirror of
https://github.com/FranP-code/countries.git
synced 2025-10-13 00:02:15 +00:00
Add fly config
This commit is contained in:
22
fly.toml
22
fly.toml
@@ -1,5 +1,10 @@
|
||||
# fly.toml file generated for empty-cherry-6843 on 2021-07-26T09:56:09-07:00
|
||||
|
||||
app = "empty-cherry-6843"
|
||||
|
||||
kill_signal = "SIGINT"
|
||||
kill_timeout = 5
|
||||
|
||||
[build]
|
||||
builder = "heroku/buildpacks:20"
|
||||
|
||||
@@ -8,9 +13,20 @@ app = "empty-cherry-6843"
|
||||
APOLLO_GRAPH_REF = "Countries-gxmwa8@current"
|
||||
APOLLO_SCHEMA_REPORTING = true
|
||||
|
||||
[experimental]
|
||||
allowed_public_ports = []
|
||||
auto_rollback = true
|
||||
|
||||
[[services]]
|
||||
http_checks = []
|
||||
internal_port = 8080
|
||||
protocol = "tcp"
|
||||
script_checks = []
|
||||
|
||||
[services.concurrency]
|
||||
hard_limit = 25
|
||||
soft_limit = 20
|
||||
type = "connections"
|
||||
|
||||
[[services.ports]]
|
||||
handlers = ["http"]
|
||||
@@ -19,3 +35,9 @@ app = "empty-cherry-6843"
|
||||
[[services.ports]]
|
||||
handlers = ["tls", "http"]
|
||||
port = 443
|
||||
|
||||
[[services.tcp_checks]]
|
||||
grace_period = "1s"
|
||||
interval = "15s"
|
||||
restart_limit = 6
|
||||
timeout = "2s"
|
||||
Reference in New Issue
Block a user