-
Notifications
You must be signed in to change notification settings - Fork 3
/
fly.toml
79 lines (60 loc) · 1.41 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
79
# fly.toml file generated for stacks-blockchain-592c8f9283f9 on 2022-05-17T08:51:54-07:00
app = "stacks-blockchain-592c8f9283f9"
kill_timeout = 60
[build]
dockerfile = "Dockerfile"
[build.args]
STACKS_BLOCKCHAIN_VERSION = "2.1.0.0.0"
STACKS_BLOCKCHAIN_API_VERSION = "7.0.0"
[deploy]
strategy = "immediate"
[env]
NODE_TLS_REJECT_UNAUTHORIZED = "0"
RUST_BACKTRACE = "full"
STACKS_LOG_DEBUG = "0"
STACKS_NETWORK = "mainnet"
[mounts]
destination = "/stacks-blockchain"
source = "stacks_blockchain_data"
[[services]]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.http_checks]]
grace_period = "5m"
interval = 30000
method = "get"
path = "/status"
protocol = "http"
timeout = 2000
tls_skip_verify = false
[services.http_checks.headers]
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services]]
internal_port = 20443
protocol = "tcp"
[[services.ports]]
port = "20443"
[[services.tcp_checks]]
grace_period = "5m"
interval = 30000
timeout = 10000
[[services]]
internal_port = 20444
protocol = "tcp"
[[services.ports]]
port = "20443"
[[services.tcp_checks]]
grace_period = "5m"
interval = 30000
timeout = 10000