-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.testnet.env.example
More file actions
40 lines (35 loc) · 1.55 KB
/
compose.testnet.env.example
File metadata and controls
40 lines (35 loc) · 1.55 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
# indexer-rs dual-run config TEMPLATE — testnet, on the build/deploy host.
# Copy to `compose.testnet.env` (gitignored) and fill in real values.
#
# Used together with:
# docker compose -f docker-compose.yml -f docker-compose.testnet.yml \
# --env-file compose.testnet.env \
# --project-name indexer-rs-testnet \
# up -d
#
# Postgres on :5437 (avoids :5432 used by TS indexer's pg and :5436
# used by the mainnet indexer-rs override). API on :8089.
#
# GRPC_URL — keep this as the local loopback URL on the same host as
# the testnet fullnode-1 gRPC server. The public Cloudflare-proxied
# `grpc-testnet.sentrixchain.com` URL gets its long-running tail
# subscription reset every ~130s by Cloudflare's HTTP/2 stream
# timeout; loopback bypasses Cloudflare entirely.
# Verified 2026-05-26: 0 h2 errors after switch, was 4-5/min before.
DATABASE_URL=postgres://indexer:CHANGE_ME@127.0.0.1:5437/indexer
RPC_URL=http://127.0.0.1:9545/rpc
REST_URL=http://127.0.0.1:9545
INDEXER_NETWORK=testnet
INDEXER_BACKFILL_LOOP_SECS=5
INDEXER_BACKFILL_CONCURRENCY=100
INDEXER_BACKFILL_BATCH=100
# Local loopback — testnet fullnode-1's gRPC bind. Caddy reverse-proxies
# the public `grpc-testnet.sentrixchain.com` to this same port for
# external dApps; same-host services skip the proxy hop.
GRPC_URL=http://127.0.0.1:50055
INDEXER_API_BIND=127.0.0.1:8089
INDEXER_API_METRICS_BIND=127.0.0.1:9081
RUST_LOG=indexer=debug,indexer_sync=debug,sqlx=warn,hyper=warn,tower_http=info
POSTGRES_PASSWORD=CHANGE_ME
POSTGRES_USER=indexer
POSTGRES_DB=indexer