forked from serverless-dns/serverless-dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.machines.toml
75 lines (60 loc) · 1.35 KB
/
fly.machines.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
app = "udns"
kill_signal = "SIGINT"
kill_timeout = 10
[build]
dockerfile = "node.Dockerfile"
[env]
NODE_ENV = "production"
CLOUD_PLATFORM = "fly"
# (set for machines only) node proc shuts itself after this threshold:
# on Fly, the in-memory DNS cache is evicted on process exit, hence
# more efficient to let the Machine linger for as much time affordable.
# also: fly can't start vms that shutdown quick: community.fly.io/t/6091/12
MACHINES_TIMEOUT_SEC = "180"
LOG_LEVEL = "info"
[experimental]
auto_rollback = true
# DNS over HTTPS
[[services]]
internal_port = 8080
protocol = "tcp"
[services.concurrency]
hard_limit = 575
soft_limit = 500
type = "connections"
[[services.ports]]
port = 443
[[services.ports]]
port = 8080
[[services.tcp_checks]]
grace_period = "10s"
interval = "15s"
restart_limit = 3
timeout = "3s"
# DNS over TCP/TLS
[[services]]
internal_port = 10000
protocol = "tcp"
[services.concurrency]
hard_limit = 575
soft_limit = 500
type = "connections"
[[services.ports]]
port = 853
[[services.ports]]
port = 10000
[[services.tcp_checks]]
grace_period = "10s"
interval = "15s"
restart_limit = 3
timeout = "3s"
# community.fly.io/t/5490/3
[checks]
[checks.up]
grace_period = "30s"
interval = "15s"
method = "get"
path = "/check"
port = 8888
timeout = "3s"
type = "http"