candle-annotator/.env.example
Marko Djordjevic 7ba1380cc7 Add authentication environment variables to .env.example
Added AUTH_SECRET, AUTH_GOOGLE_ID, AUTH_GOOGLE_SECRET, AUTH_TRUST_HOST, DEFAULT_ADMIN_EMAIL, and DEFAULT_ADMIN_PASSWORD environment variables with helpful comments and placeholder values for Auth.js v5 and Google OAuth setup.

Marked task 1.2 as complete in tasks.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 09:44:25 +01:00

31 lines
1.1 KiB
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
# Authentication Configuration (Auth.js v5)
# Generate a strong random value for AUTH_SECRET: openssl rand -hex 32
AUTH_SECRET=change_me_to_a_strong_random_secret
# Google OAuth Configuration
# Get these from Google Cloud Console: https://console.cloud.google.com/
AUTH_GOOGLE_ID=your_google_oauth_client_id
AUTH_GOOGLE_SECRET=your_google_oauth_client_secret
# Auth.js trust host configuration
# Set to true when using HTTP (e.g., localhost), should be false in production with HTTPS
AUTH_TRUST_HOST=true
# Default admin user credentials
# Change these to your desired default admin email and password
DEFAULT_ADMIN_EMAIL=admin@example.com
DEFAULT_ADMIN_PASSWORD=change_me_to_a_strong_password