-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfig.toml
More file actions
46 lines (40 loc) · 1.08 KB
/
config.toml
File metadata and controls
46 lines (40 loc) · 1.08 KB
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
# TIDX Indexer Configuration
[http]
enabled = true
port = 8080
bind = "0.0.0.0"
[prometheus]
enabled = true
port = 9090
[[chains]]
name = "moderato"
chain_id = 42431
rpc_url = "https://eng:aphex-twin-jeff-mills@rpc.testnet.tempo.xyz"
pg_url = "postgres://tidx:tidx@postgres:5432/tidx_moderato"
backfill = true
batch_size = 500
concurrency = 8
# ClickHouse OLAP engine (optional)
# Data is written directly via HTTP batch inserts (JSONEachRow).
# Queries go to the primary; failover instances are tried on connection failure.
[chains.clickhouse]
enabled = false
url = "http://clickhouse:8123"
# failover_urls = ["http://clickhouse-2:8123"]
# user = "default"
# password_env = "CH_PASSWORD"
[[chains]]
name = "mainnet"
chain_id = 4217
rpc_url = "https://eng:aphex-twin-jeff-mills@rpc.tempo.xyz"
pg_url = "postgres://tidx:tidx@postgres:5432/tidx_mainnet"
backfill = true
batch_size = 500
concurrency = 8
# ClickHouse OLAP engine (optional)
[chains.clickhouse]
enabled = false
url = "http://clickhouse:8123"
# failover_urls = ["http://clickhouse-2:8123"]
# user = "default"
# password_env = "CH_PASSWORD"