38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
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)
|
|
# Option 1: Remote PostgreSQL Database
|
|
DATABASE_URL=postgresql://postgres:[password]@100.121.163.23:5432/institutional_trader
|
|
|
|
# Option 2: Supabase Database
|
|
# Get this from: Supabase Dashboard > Settings > Database > Connection String (URI)
|
|
# DATABASE_URL=postgresql://postgres:[password]@db.[project-ref].supabase.co:5432/postgres
|
|
|
|
# Option 3: Use LOCAL_DB variables (for remote database)
|
|
USE_LOCAL_DB=true
|
|
LOCAL_DB_HOST=100.121.163.23
|
|
LOCAL_DB_PORT=5432
|
|
LOCAL_DB_USER=postgres
|
|
LOCAL_DB_PASSWORD=your_postgres_password
|
|
LOCAL_DB_NAME=institutional_trader
|
|
|
|
# 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
|