-
Notifications
You must be signed in to change notification settings - Fork 26
/
fly.toml
105 lines (86 loc) · 2.17 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
app = "indexer-v2"
primary_region = "den"
kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[build]
[deploy]
wait_timeout = "6h0m0s"
[env]
PINO_PRETTY = "true"
DEPLOYMENT_ENVIRONMENT = "production"
ENABLE_RESOURCE_MONITOR = "false"
ESTIMATES_LINEARQF_WORKER_POOL_SIZE = "10"
INDEXED_CHAINS = "mainnet,optimism,fantom,pgn-testnet,pgn-mainnet,arbitrum,polygon,sepolia,avalanche,avalanche-fuji,scroll,scroll-sepolia,base,zksync-era-mainnet,lukso-mainnet,lukso-testnet,celo-mainnet,celo-testnet,sei-mainnet,metisAndromeda,gnosis"
LOG_LEVEL = "debug"
NODE_OPTIONS = "--max-old-space-size=4096"
PORT = "8080"
STORAGE_DIR = "/mnt/indexer"
PASSPORT_SCORER_ID = 335
[processes]
indexer = "npm start -- --indexer --http"
web = "npm start -- --http --http-wait-for-sync=false"
[[mounts]]
source = "indexer_staging"
destination = "/mnt/indexer"
initial_size = "50GB"
auto_extend_size_threshold = 80
auto_extend_size_increment = "5GB"
auto_extend_size_limit = "100GB"
processes = ["indexer", "web"]
[[services]]
internal_port = 8080
processes = ["indexer"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 250
soft_limit = 200
type = "requests"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 8080
[[services.ports]]
handlers = ["tls", "http"]
port = 8081
[[services.tcp_checks]]
grace_period = "30s"
interval = "15s"
restart_limit = 0
timeout = "10s"
[[services]]
internal_port = 8080
processes = ["web"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 250
soft_limit = 200
type = "requests"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "30s"
interval = "15s"
restart_limit = 0
timeout = "10s"
[checks.http]
port = 8080
type = "http"
interval = "15s"
timeout = "10s"
grace_period = "30s"
method = "get"
path = "/api/v1/status"
processes = ["web", "indexer"]
[[vm]]
memory = "4gb"
cpu_kind = "performance"
cpus = 2