SPB Git

spb/coinexplorer Public MIT

Self-hosted, zero-API-key explorer for stablecoins and major crypto.

Python 60.3% HTML 23.6% JavaScript 8.1% CSS 6.8% SQL 1%
1.0 KB · 25 lines dotenv
Raw Blame History
1# Author: Simon-Pierre Boucher2# Mail: contact@spboucher.ai3# --- indexer ---------------------------------------------------------4# comma-separated subset of chains to index; empty = all configured5EXPLORER_CHAINS=6# SQLite path (dev). Docker compose overrides this to /data/explorer.db7EXPLORER_DB=./explorer.db8# grow history backwards N days (0 = off); per-chain backfill_days in9# chains.yaml overrides. Backfill runs at lower priority than head tailing.10EXPLORER_BACKFILL_DAYS=01112# --- api -------------------------------------------------------------13API_PORT=80801415# --- postgres ---------------------------------------------------------16POSTGRES_USER=explorer17POSTGRES_PASSWORD=explorer18POSTGRES_DB=explorer19POSTGRES_PORT=5433   # host port (containers use 5432 internally)20# Uncomment to store in postgres instead of SQLite.21# Inside docker compose:22# DATABASE_URL=postgresql://explorer:explorer@postgres:5432/explorer23# From the host (local dev):24# DATABASE_URL=postgresql://explorer:explorer@127.0.0.1:5433/explorer25