-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.env.example
More file actions
32 lines (26 loc) · 1.51 KB
/
compose.env.example
File metadata and controls
32 lines (26 loc) · 1.51 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
# Template for ./compose.env (gitignored).
# Copy to compose.env and fill in real values:
# cp compose.env.example compose.env
#
# Both `indexer` and `api` services read from this file via docker-compose's
# env_file. The `indexer` binary uses RPC_URL / GRPC_URL / INDEXER_NETWORK;
# the `api` binary needs only DATABASE_URL.
# ── Required (both services) ─────────────────────────────────────────
DATABASE_URL=postgres://indexer:indexer@postgres:5432/indexer
# ── Indexer (sync + CoinBlast worker) ────────────────────────────────
RPC_URL=https://rpc.sentrixchain.com
INDEXER_NETWORK=mainnet
# INDEXER_PG_MAX_CONNECTIONS=10
# INDEXER_BACKFILL_LOOP_SECS=5
# Optional: gRPC tail loop (sub-second tip detection). Leave unset to
# rely on the backfill loop's polling cadence.
# GRPC_URL=https://grpc.sentrixchain.com:443
# Optional: ClickHouse analytics flusher.
# CLICKHOUSE_URL=http://clickhouse:8123
# CLICKHOUSE_RAW_TX_TABLE=raw_tx
# INDEXER_ANALYTICS_FLUSH_SECS=15
# ── API server ────────────────────────────────────────────────────────
# INDEXER_API_BIND=0.0.0.0:8080
# INDEXER_API_MAX_CONNECTIONS=20
# ── Logging (tracing-subscriber EnvFilter) ────────────────────────────
RUST_LOG=info,sqlx=warn,hyper=warn