Skip to content

Commit

Permalink
chore: Upgrading Fly.io toml config
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelriosoliveira committed Oct 11, 2023
1 parent fb149ae commit 2ffb9c7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
41 changes: 21 additions & 20 deletions packages/server/fly.toml
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
# fly.toml file generated for project-pokedex-ts on 2023-04-26T14:35:53+02:00
# fly.toml app configuration file generated for project-pokedex-ts on 2023-10-11T14:53:47+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "project-pokedex-ts"
kill_signal = "SIGINT"
kill_timeout = 5
primary_region = "mad"
processes = []

[env]
PORT = "8080"
kill_signal = "SIGINT"
kill_timeout = "5s"

[experimental]
auto_rollback = true

[build]

[env]
PORT = "3000"

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

[[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"
3 changes: 1 addition & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"lint": "eslint src --fix --ext .ts",
"test": "vitest",
"test:cov": "vitest run --coverage",
"test:cov:staged": "vitest related --run --coverage",
"prepare": "husky install"
"test:cov:staged": "vitest related --run --coverage"
},
"dependencies": {
"axios": "^1.5.1",
Expand Down

1 comment on commit 2ffb9c7

@vercel
Copy link

@vercel vercel bot commented on 2ffb9c7 Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.