- Updated .env to use DATABASE_URL instead of DATABASE_PATH - Tested all API endpoints: health, charts, candles, span annotations - Confirmed JSONB fields work correctly (geometry, sub_spans, model_prediction) - All 2,836 rows accessible via API - Database connection pooling working correctly
9 lines
282 B
Bash
9 lines
282 B
Bash
NODE_ENV=production
|
|
PORT=3000
|
|
DATABASE_URL=postgresql://ml_user:ml_password@localhost:5432/candle_annotator
|
|
|
|
# ML Inference Service Configuration
|
|
INFERENCE_API_URL=http://localhost:8001
|
|
INFERENCE_API_TIMEOUT=30000
|
|
INFERENCE_BATCH_TIMEOUT=120000
|
|
NEXT_PUBLIC_PREDICTIONS_ENABLED=true
|