780 B
780 B
Production Checklist
Before running the Explorer API and indexer in production:
-
Set a strong
JWT_SECRET
Do not use the placeholder from the env template. Generate a secure value, e.g.:export JWT_SECRET=$(openssl rand -hex 32)See
deployment/ENVIRONMENT_TEMPLATE.envfor all required variables. -
Run database migrations
Apply migrations before starting the API and indexer, e.g.:psql -U explorer -d explorer -f backend/database/migrations/0010_track_schema.up.sqlOr use your migration runner (e.g.
go run backend/database/migrations/migrate.go --upif applicable). -
Configure DB and RPC
EnsureDB_*,RPC_URL,WS_URL, andCHAIN_IDare set correctly for the target environment.