Skip to content

Commit

Permalink
fly v2 config
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrodnek committed Jul 11, 2023
1 parent e006c37 commit a5ed012
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
# fly.toml file generated for pyview-demo on 2023-01-28T12:41:57-05:00
# fly.toml app configuration file generated for pyview-demo on 2023-07-10T20:50:59-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "pyview-demo"
primary_region = "ewr"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[env]
kill_timeout = "5s"

[experimental]
auto_rollback = true

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

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

[[services.ports]]
handlers = ["tls", "http"]
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"
grace_period = "1s"
restart_limit = 0

0 comments on commit a5ed012

Please sign in to comment.