43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
# Copy to server/.env and configure for this VM.
|
|
# Required for cyberhybridhub-api systemd service.
|
|
|
|
DATABASE_URL=postgresql://postgres:PASSWORD@localhost:5432/cyberhybridhub
|
|
FIREBASE_WEB_API_KEY=
|
|
|
|
PORT=3000
|
|
|
|
QUESTION_WORKER_ENABLED=true
|
|
QUESTION_WORKER_INTERVAL_SECONDS=60
|
|
QUESTION_PIPELINE_TEST_MODE=false
|
|
PROSPECTIVE_ANSWER_CLOSENESS_ENABLED=false
|
|
|
|
# Required when MARKET_HISTORY_SYNC_ENABLED=true (server refuses to start otherwise).
|
|
TRADING_ENABLED=true
|
|
TRADING_WORKER_INGEST_ENABLED=true
|
|
TRADING_WORKER_EVAL_ENABLED=true
|
|
TRADING_DEV_ENDPOINTS_ENABLED=false
|
|
|
|
# Must be true for /v1/admin/* routes and the home-screen admin icon probe.
|
|
ADMIN_PORTAL_ENABLED=true
|
|
# Comma-separated Firebase Auth UIDs (Console → Authentication → Users).
|
|
ADMIN_FIREBASE_UIDS=
|
|
|
|
# Alpaca (required when TRADING_ENABLED=true or MARKET_HISTORY_SYNC_ENABLED=true)
|
|
ALPACA_API_KEY_ID=
|
|
ALPACA_API_SECRET_KEY=
|
|
ALPACA_TRADING_BASE_URL=https://paper-api.alpaca.markets
|
|
ALPACA_DATA_BASE_URL=https://data.alpaca.markets
|
|
ALPACA_DATA_FEED=iex
|
|
ALPACA_ALLOW_LIVE=false
|
|
|
|
MARKET_HISTORY_SYNC_ENABLED=true
|
|
MARKET_HISTORY_WINDOW_DAYS=5
|
|
MARKET_HISTORY_RETENTION_DAYS=5
|
|
|
|
# Public API URL baked into Flutter web builds (see scripts/build-production-web.sh).
|
|
# Use same origin as the site when HAProxy proxies /v1 and /hubs on :443.
|
|
API_BASE_URL=https://cyberhybridhub.com
|
|
QUESTION_DISPATCHER_DEBUG_LOGGING_ENABLED=false
|
|
MERRIAM_WEBSTER_API_KEY=
|
|
GOOGLE_CLOUD_API_KEY=
|