-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
42 lines (39 loc) · 834 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
41
42
app = "fullstack-bun"
primary_region = "bos"
[[services]]
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 1
internal_port = 3000
processes = ["app"]
protocol = "tcp"
[services.concurrency]
type = "connections"
soft_limit = 500
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.ports]]
handlers = ["tls", "http"]
port = 3000
[[services.http_checks]]
grace_period = "10s"
interval = "60s"
timeout = "5s"
method = "GET"
path = "/health"
[[services]]
internal_port = 3001
processes = ["app"]
protocol = "tcp"
[[services.ports]]
handlers = ["tls", "http"]
port = 3001
[[vm]]
memory = '256mb'
cpu_kind = 'shared'
cpus = 1