forked from serverless-dns/serverless-dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.toml
78 lines (66 loc) · 1.7 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
app = ""
kill_signal = "SIGINT"
kill_timeout = 5
# processes = []
[env]
DENO_ENV = "production"
NODE_ENV = "production"
CLOUD_PLATFORM = "fly"
LOG_LEVEL = "info"
CF_BLOCKLIST_URL = "https://dist.rethinkdns.com/blocklists/"
CF_LATEST_BLOCKLIST_TIMESTAMP = "1656319128681"
TD_NODE_COUNT = "40760596"
TD_PARTS = "2"
CF_DNS_RESOLVER_URL = "https://cloudflare-dns.com/dns-query"
CF_BLOCKLIST_DOWNLOAD_TIMEOUT = "10000"
# DOT_HAS_PROXY_PROTO = "true"
[experimental]
allowed_public_ports = []
auto_rollback = true
# Don't use `[processes]`, undocumented and causes problems with [auto]scaling.
# Instead, use CMD in Dockerfile.
# [processes]
# app = "run --allow-net --allow-env --import-map=import_map.json server-deno.ts"
# app = "node server-node.js"
# DNS over HTTP[S]
[[services]]
http_checks = []
internal_port = 8080
# processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 75
soft_limit = 60
type = "connections"
[[services.ports]]
# handlers = ["proxy_proto"]
port = 443
[[services.tcp_checks]]
# account for delay due to blocklists download that
# happens on process startup: plugin.js:systemReady
grace_period = "15s"
interval = "30s"
restart_limit = 6
timeout = "2s"
# DNS over TCP/TLS
[[services]]
http_checks = []
internal_port = 10000
# processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 75
soft_limit = 60
type = "connections"
[[services.ports]]
# handlers = ["proxy_proto"]
port = 853
[[services.tcp_checks]]
# account for delay due to blocklists download that
# happens on process startup: plugin.js:systemReady
grace_period = "15s"
interval = "30s"
restart_limit = 6
timeout = "2s"