forked from unpkg/unpkg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
fly.toml
40 lines (31 loc) · 746 Bytes
/
fly.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# fly.toml file generated for frosty-dust-3645 on 2021-03-09T12:21:21-06:00
app = "unpkg"
kill_signal = "SIGINT"
kill_timeout = 5
[build]
builder = "paketobuildpacks/builder:base"
buildpacks = ["gcr.io/paketo-buildpacks/nodejs"]
[build.args]
NODE_ENV="development" # for build
[env]
PORT = "8080"
NODE_ENV = "production"
[[services]]
internal_port = 8080
protocol = "tcp"
[services.concurrency]
type = "requests"
hard_limit = 60
soft_limit = 40
[[services.ports]]
handlers = ["http"]
port = "80"
[[services.ports]]
handlers = ["tls", "http"]
port = "443"
[[services.tcp_checks]]
grace_period = "1s"
interval = "10s"
port = "8080"
restart_limit = 5
timeout = "2s"