Skip to content

Commit

Permalink
Migrate to Apps V2
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhiek187 committed May 6, 2023
1 parent e903c47 commit 5ea994d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

34 changes: 16 additions & 18 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,36 @@
# fly.toml file generated for how-to-stock-3 on 2022-09-11T09:19:04-04:00
# fly.toml app configuration file generated for how-to-stock-3 on 2023-05-06T17:07:56-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "how-to-stock-3"
primary_region = "ewr"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[env]
kill_timeout = "5s"

[experimental]
allowed_public_ports = []
auto_rollback = true

[[services]]
http_checks = []
protocol = "tcp"
internal_port = 8080
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 5ea994d

Please sign in to comment.