Skip to content

Commit 973365b

Browse files
committed
Deploy to fly
1 parent a242d86 commit 973365b

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

fly.toml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# fly.toml file generated for typeofweb-discord-bot on 2022-09-03T23:58:37+02:00
2+
3+
app = "typeofweb-discord-bot"
4+
kill_signal = "SIGINT"
5+
kill_timeout = 5
6+
processes = []
7+
8+
[build]
9+
builder = "heroku/buildpacks:20"
10+
11+
[env]
12+
PORT = "8080"
13+
14+
[experimental]
15+
allowed_public_ports = []
16+
auto_rollback = true
17+
18+
[[services]]
19+
http_checks = []
20+
internal_port = 8080
21+
processes = ["app"]
22+
protocol = "tcp"
23+
script_checks = []
24+
[services.concurrency]
25+
hard_limit = 25
26+
soft_limit = 20
27+
type = "connections"
28+
29+
[[services.ports]]
30+
force_https = true
31+
handlers = ["http"]
32+
port = 80
33+
34+
[[services.ports]]
35+
handlers = ["tls", "http"]
36+
port = 443
37+
38+
[[services.tcp_checks]]
39+
grace_period = "1s"
40+
interval = "15s"
41+
restart_limit = 0
42+
timeout = "2s"

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,8 @@
8383
"**/*.{md,js,json}": [
8484
"yarn prettier --write"
8585
]
86+
},
87+
"engines": {
88+
"node": "^14.0.0"
8689
}
8790
}

0 commit comments

Comments
 (0)