Skip to content

Commit

Permalink
Deploy to fly
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb committed Sep 3, 2022
1 parent a242d86 commit 973365b
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
42 changes: 42 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# fly.toml file generated for typeofweb-discord-bot on 2022-09-03T23:58:37+02:00

app = "typeofweb-discord-bot"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[build]
builder = "heroku/buildpacks:20"

[env]
PORT = "8080"

[experimental]
allowed_public_ports = []
auto_rollback = true

[[services]]
http_checks = []
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

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

[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,8 @@
"**/*.{md,js,json}": [
"yarn prettier --write"
]
},
"engines": {
"node": "^14.0.0"
}
}

0 comments on commit 973365b

Please sign in to comment.