candle-annotator/.env.example
Marko Djordjevic c023702644 feat: add API_KEY to .env.example with placeholder and instructions
- Add API_KEY environment variable with placeholder value 'change_me_to_a_strong_random_key'
- Include helpful comment explaining its purpose: authentication between Next.js and ML service
- Provide command for generating strong random value: openssl rand -hex 32
- Mark task 3.4 as completed
2026-02-18 11:06:47 +01:00

13 lines
471 B
Text

NODE_ENV=production
PORT=3000
DATABASE_URL=postgresql://your_db_user:change_me_to_a_strong_password@postgres:5432/candle_annotator
# API key for authenticating requests between Next.js and ML service
# Generate a strong random value: openssl rand -hex 32
API_KEY=change_me_to_a_strong_random_key
# ML Inference Service Configuration
INFERENCE_API_URL=http://localhost:8001
INFERENCE_API_TIMEOUT=30000
INFERENCE_BATCH_TIMEOUT=120000
NEXT_PUBLIC_PREDICTIONS_ENABLED=true