1
- app = ' indexer-v2'
2
- primary_region = ' den'
3
- kill_signal = ' SIGINT'
4
- kill_timeout = ' 5s'
1
+
2
+ app = " indexer-v2"
3
+ primary_region = " den"
4
+ kill_signal = " SIGINT"
5
+ kill_timeout = " 5s"
5
6
6
7
[experimental ]
7
8
auto_rollback = true
8
9
9
10
[build ]
10
11
11
12
[deploy ]
12
- wait_timeout = ' 6h0m0s'
13
+ wait_timeout = " 6h0m0s"
13
14
14
15
[env ]
15
- PINO_PRETTY = ' true'
16
- DEPLOYMENT_ENVIRONMENT = ' production'
17
- ENABLE_RESOURCE_MONITOR = ' false'
18
- ESTIMATES_LINEARQF_WORKER_POOL_SIZE = ' 10 '
19
- 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'
20
- LOG_LEVEL = ' debug'
21
- NODE_OPTIONS = ' --max-old-space-size=4096'
22
- PORT = ' 8080'
23
- STORAGE_DIR = ' /mnt/indexer'
24
- PASSPORT_SCORER_ID = 335
16
+ PINO_PRETTY = " true"
17
+ DEPLOYMENT_ENVIRONMENT = " production"
18
+ ENABLE_RESOURCE_MONITOR = " false"
19
+ ESTIMATES_LINEARQF_WORKER_POOL_SIZE = " 10 "
20
+ 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"
21
+ LOG_LEVEL = " debug"
22
+ NODE_OPTIONS = " --max-old-space-size=4096"
23
+ PORT = " 8080"
24
+ STORAGE_DIR = " /mnt/indexer"
25
+ PASSPORT_SCORER_ID = 335
25
26
26
27
[processes ]
27
- indexer = ' npm start -- --indexer --http'
28
- web = ' npm start -- --http --http-wait-for-sync=false'
28
+ indexer = " npm start -- --indexer --http"
29
+ web = " npm start -- --http --http-wait-for-sync=false"
29
30
30
31
[[mounts ]]
31
- source = ' indexer_staging'
32
- destination = ' /mnt/indexer'
33
- initial_size = ' 50GB'
32
+ source = " indexer_staging"
33
+ destination = " /mnt/indexer"
34
+ initial_size = " 50GB"
34
35
auto_extend_size_threshold = 80
35
36
auto_extend_size_increment = " 5GB"
36
37
auto_extend_size_limit = " 100GB"
37
- processes = [' indexer' , ' web' ]
38
+ processes = [" indexer" , " web" ]
38
39
39
- [http_service ]
40
+ [[ services ] ]
40
41
internal_port = 8080
41
- force_https = true
42
- auto_stop_machines = true
43
- auto_start_machines = true
44
- min_machines_running = 2
45
- processes = [' web' ]
46
-
47
- [http_service .concurrency ]
48
- type = ' requests'
42
+ processes = [" indexer" ]
43
+ protocol = " tcp"
44
+ script_checks = []
45
+
46
+ [services .concurrency ]
49
47
hard_limit = 250
50
48
soft_limit = 200
49
+ type = " requests"
50
+
51
+ [[services .ports ]]
52
+ force_https = true
53
+ handlers = [" http" ]
54
+ port = 80
55
+
56
+ [[services .ports ]]
57
+ handlers = [" tls" , " http" ]
58
+ port = 443
59
+
60
+ [[services .tcp_checks ]]
61
+ grace_period = " 30s"
62
+ interval = " 15s"
63
+ restart_limit = 0
64
+ timeout = " 10s"
65
+
66
+ [[services ]]
67
+ internal_port = 8080
68
+ processes = [" web" ]
69
+ protocol = " tcp"
70
+ script_checks = []
71
+
72
+ [services .concurrency ]
73
+ hard_limit = 250
74
+ soft_limit = 200
75
+ type = " requests"
76
+
77
+ [[services .ports ]]
78
+ force_https = true
79
+ handlers = [" http" ]
80
+ port = 80
81
+
82
+ [[services .ports ]]
83
+ handlers = [" tls" , " http" ]
84
+ port = 443
85
+
86
+ [[services .tcp_checks ]]
87
+ grace_period = " 30s"
88
+ interval = " 15s"
89
+ restart_limit = 0
90
+ timeout = " 10s"
51
91
52
- [checks ]
53
- [checks .http ]
54
- port = 8080
55
- type = ' http'
56
- interval = ' 15s'
57
- timeout = ' 10s'
58
- grace_period = ' 30s'
59
- method = ' get'
60
- path = ' /api/v1/status'
61
- processes = [' web' , ' indexer' ]
92
+ [checks .http ]
93
+ port = 8080
94
+ type = " http"
95
+ interval = " 15s"
96
+ timeout = " 10s"
97
+ grace_period = " 30s"
98
+ method = " get"
99
+ path = " /api/v1/status"
100
+ processes = [" web" , " indexer" ]
62
101
63
102
[[vm ]]
64
- memory = ' 4gb'
65
- cpu_kind = ' performance'
66
- cpus = 2
103
+ memory = " 4gb"
104
+ cpu_kind = " performance"
105
+ cpus = 2
0 commit comments