Skip to content

Commit

Permalink
Fly v2
Browse files Browse the repository at this point in the history
  • Loading branch information
janbaykara committed Oct 17, 2023
1 parent 10b216a commit 73f1b50
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
app = "lbc-staging"
# fly.toml app configuration file generated for lbc-staging on 2023-10-17T13:13:20+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "lbc-staging"
kill_signal = "SIGINT"
kill_timeout = 5
primary_region = "lhr"
kill_timeout = "5s"

[deploy]
release_command = "make release"
Expand All @@ -13,10 +18,18 @@ kill_timeout = 5
[[services]]
internal_port = 8080
protocol = "tcp"

[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"

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

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

[[services.http_checks]]
grace_period = "5s"
Expand All @@ -26,14 +39,6 @@ kill_timeout = 5
protocol = "http"
timeout = 2000

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

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

[[statics]]
guest_path = "/app/static"
url_prefix = "/static"

0 comments on commit 73f1b50

Please sign in to comment.