- Remove better-sqlite3, add pg driver - Convert schema to PostgreSQL types (serial, timestamp, boolean, jsonb) - Generate fresh PostgreSQL migrations - Update database connection layer with pg.Pool - Fix all API routes: remove JSON.parse/stringify, use native timestamps and booleans - Update drizzle.config.ts and .env.example for PostgreSQL
9 lines
281 B
Text
9 lines
281 B
Text
NODE_ENV=production
|
|
PORT=3000
|
|
DATABASE_URL=postgresql://ml_user:ml_password@postgres: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
|