SPB Git forge

spb/market-atlas

Public
12commits 1branches 0releases
1.1 MBsize
maindefault branch
10 days agolast push
TypeScript 96.7% SQL 1.6% CSS 0.8% JavaScript 0.5%
1.1 KB · 18 lines dotenv
Raw Blame History
1# Market Atlas — runtime configuration (copy to .env for local development)2APP_ENV=development3MA_SITE_URL=http://localhost:83904MA_API_HOST=127.0.0.15MA_API_PORT=8391                # production: web 8380 / api 83816MA_ROLE=all                     # all | api | worker7DATABASE_URL=postgres://localhost:5432/market_atlas8MA_DATA_DIR=./data              # raw payload archive, backups, logs9MA_ADMIN_TOKEN=change-me        # x-ma-admin-token header for /v1/admin/*10MA_LOG_JSON=011MA_CONTACT_EMAIL=contact@market-atlas.co   # sent in User-Agent to official sources (SEC requires it)12HFMD_API_KEY=                   # hfmarketdata.io key (own data lake) — optional, raises limits13MA_DISABLED_CONNECTORS=         # comma-separated connector ids to keep off14MA_RAW_SAMPLE_RATE=0.02         # share of streaming frames archived at L0 (bulk/poll payloads are always archived)15MA_OBSERVATION_RETENTION_DAYS=4516MA_TICK_PERSIST_INTERVAL_MS=2000  # store at most one REALTIME tick per source/instrument/field per 2 s (consensus sees every tick)17MA_WEB_UPSTREAM=                # production edge mode: proxy every non-/v1 path to the Next.js app (http://127.0.0.1:8382)18