Skip to content

Commit

Permalink
Upgrade to fly apps V2 config
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-mai authored and ekzhang committed May 26, 2023
1 parent 8adfc6e commit aba0e6a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
app = "composing-studio"

primary_region = "dfw"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[experimental]
allowed_public_ports = []
auto_rollback = true

[[services]]
protocol = "tcp"
internal_port = 3030
processes = ["app"]
protocol = "tcp"

[services.concurrency]
type = "connections"
hard_limit = 65536
soft_limit = 1024
type = "connections"

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

[[services.ports]]
handlers = ["tls"]
port = 443

[services.ports.tls_options]
alpn = ["h2", "http/1.1"]
handlers = ["tls"]
tls_options = { alpn = ["h2", "http/1.1"] }

[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
grace_period = "1s"
restart_limit = 0

0 comments on commit aba0e6a

Please sign in to comment.