# Production Environment Configuration
# WhatsApp Web Application - Production Settings

# Database Configuration (Update with your production database details)
DB_HOST=localhost
DB_PORT=3306
DB_NAME=tanvirmeah_simple
DB_USER=tanvirmeah_simple
DB_PASSWORD=A423030Bb**++//
DB_SSL=false

# Server Configuration
PORT=3000
NODE_ENV=production

# Production Domain Configuration
PRODUCTION_DOMAIN=https://sumba.space
API_BASE_URL=https://sumba.space
SOCKET_URL=https://sumba.space

# Frontend Configuration
VITE_API_URL=https://sumba.space
VITE_SOCKET_URL=https://sumba.space

# CORS Configuration
CORS_ORIGIN=*

# WhatsApp Configuration
WA_RECONNECT_INTERVAL=5000
WA_MAX_RECONNECT_RECONNECT_RETRIES=5

# Security Configuration - CRITICAL: Change these in production
JWT_SECRET=f9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8
BCRYPT_ROUNDS=12

# Production-specific settings
TRUST_PROXY=true
LOG_LEVEL=info
ENABLE_COMPRESSION=true
ENABLE_CORS=true

# SSL Configuration (if using SSL termination at app level)
# SSL_CERT_PATH=/path/to/cert.pem
# SSL_KEY_PATH=/path/to/key.pem

# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100

# Session Configuration
SESSION_SECRET=a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f2
SESSION_MAX_AGE=86400000

# File Upload Configuration
MAX_FILE_SIZE=16777216
UPLOAD_DIR=./uploads

# Email Configuration (if needed)
# SMTP_HOST=
# SMTP_PORT=587
# SMTP_USER=
# SMTP_PASS=
# SMTP_FROM=noreply@whatsend.gitcode.store

# Monitoring (optional)
# SENTRY_DSN=
# NEW_RELIC_LICENSE_KEY=