institutional-trader/backend/env.production.example

26 lines
749 B
Plaintext

# Production Environment Variables Example
# Copy this file to .env and fill in your actual values
NODE_ENV=production
PORT=3000
# Supabase Configuration
SUPABASE_URL=your_production_supabase_url
SUPABASE_ANON_KEY=your_production_anon_key
SUPABASE_SERVICE_KEY=your_service_role_key
# Direct PostgreSQL Connection (optional, for heavy queries)
# Get this from: Supabase Dashboard > Settings > Database > Connection String (URI)
DATABASE_URL=postgresql://postgres:[password]@db.[project-ref].supabase.co:5432/postgres
# CORS Configuration
CORS_ORIGIN=https://your-frontend-domain.com
# Security
JWT_SECRET=your_super_secret_jwt_key_min_32_chars
RATE_LIMIT_WINDOW=15
RATE_LIMIT_MAX=100
# Error Tracking (optional)
SENTRY_DSN=your_sentry_dsn_here