-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.toml
52 lines (43 loc) · 1.04 KB
/
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
43
44
45
46
47
48
49
50
51
52
##
# fly.toml app configuration file generated on 2023-09-29T16:10:32+07:00
# See https://fly.io/docs/reference/configuration/ for information about
# how to use this file.
##
app = "fastrue-demo"
primary_region = "sjc"
kill_signal = "SIGINT"
kill_timeout = 5
swap_size_mb = 512
console_command = "/bin/sh"
[build]
dockerfile = "apps/server/Dockerfile"
[build.args]
NODE_VERSION = "20"
[deploy]
strategy = "immediate"
# release_command = "/usr/local/bin/npm run db:migrate"
[env]
PORT = "8090"
[http_service]
internal_port = 8090
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[http_service.concurrency]
type = "requests"
soft_limit = 200
hard_limit = 250
[http_service.tls_options]
alpn = ["h2", "http/1.1"]
versions = ["TLSv1.2", "TLSv1.3"]
default_self_signed = false
[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
timeout = "5s"
path = "/api/health"
protocol = "http"
tls_skip_verify = true