feat(api): add Next.js proxy routes for ML inference service

This commit is contained in:
Marko Djordjevic 2026-02-15 14:30:09 +01:00
parent 3a83fd38e9
commit 205021e810
5 changed files with 210 additions and 4 deletions

View file

@ -1,3 +1,9 @@
NODE_ENV=production
PORT=3000
DATABASE_PATH=/app/data/candles.db
# ML Inference Service Configuration
INFERENCE_API_URL=http://localhost:8001
INFERENCE_API_TIMEOUT=30000
INFERENCE_BATCH_TIMEOUT=120000
NEXT_PUBLIC_PREDICTIONS_ENABLED=true