Change AUTH_SECRET generation command from 'openssl rand -hex 32' to 'openssl rand -base64 32' for consistency with documentation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
1.1 KiB
Text
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 -base64 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
|