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
ekzhang committed May 26, 2023
1 parent 573da75 commit 73e2cdc
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 73e2cdc

Please sign in to comment.