-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
60 lines (48 loc) · 1.06 KB
/
Copy pathfly.toml
File metadata and controls
60 lines (48 loc) · 1.06 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Fly.io configuration for WorkStack Backend
# See https://fly.io/docs/reference/configuration/ for more information
app = "workstack"
primary_region = "bom"
[build]
dockerfile = "apps/backend/Dockerfile"
build_context = "."
[env]
NODE_ENV = "production"
HOST = "0.0.0.0"
PORT = "3000"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[[services]]
internal_port = 3000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
handlers = ["http"]
port = 80
force_https = true
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.http_checks]]
interval = "10s"
grace_period = "5s"
method = "get"
path = "/"
protocol = "http"
timeout = "2s"
tls_skip_verify = false
[processes]
app = "node dist/server.js"
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 512