Skip to content

Commit

Permalink
Let Fly CLI update the configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Aug 4, 2023
1 parent eb7da24 commit 9337a0f
Showing 1 changed file with 32 additions and 30 deletions.
62 changes: 32 additions & 30 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,44 +1,46 @@
# fly.toml app configuration file generated for poly-zg on 2023-08-05T01:20:49+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "poly-zg"
primary_region = "otp"
kill_signal = "SIGINT"
kill_timeout = 5
processes = [ ]
kill_timeout = "5s"

[experimental]
allowed_public_ports = [ ]
auto_rollback = true
auto_rollback = true

[[services]]
internal_port = 8_080
processes = [ "app" ]
protocol = "tcp"
script_checks = [ ]
[build]

[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services]]
protocol = "tcp"
internal_port = 8080
processes = ["app"]

[[services.ports]]
handlers = [ "http" ]
port = 80
force_https = true
port = 80
handlers = ["http"]
force_https = true

[[services.ports]]
handlers = [ "tls", "http" ]
port = 443
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"
interval = "15s"
timeout = "2s"
grace_period = "1s"

[[services.http_checks]]
interval = "10s"
grace_period = "5s"
method = "get"
path = "/healthcheck"
protocol = "http"
timeout = "2s"
tls_skip_verify = false
headers = { }
interval = "10s"
timeout = "2s"
grace_period = "5s"
method = "get"
path = "/healthcheck"
protocol = "http"
tls_skip_verify = false

0 comments on commit 9337a0f

Please sign in to comment.