57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
# Production Environment Configuration
|
|
# Copy this file to .env and update values for your environment
|
|
|
|
# ===========================================
|
|
# Server Configuration
|
|
# ===========================================
|
|
NODE_ENV=production
|
|
PORT=3000
|
|
|
|
# ===========================================
|
|
# Database Configuration (MySQL)
|
|
# ===========================================
|
|
DB_HOST=mysql
|
|
DB_PORT=3306
|
|
DB_NAME=overseas_appointment
|
|
DB_USER=app_user
|
|
DB_PASSWORD=CHANGE_THIS_STRONG_PASSWORD
|
|
MYSQL_ROOT_PASSWORD=CHANGE_THIS_ROOT_PASSWORD
|
|
|
|
# ===========================================
|
|
# Redis Configuration
|
|
# ===========================================
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=CHANGE_THIS_REDIS_PASSWORD
|
|
|
|
# ===========================================
|
|
# JWT Configuration
|
|
# ===========================================
|
|
# Generate a strong secret: openssl rand -base64 64
|
|
JWT_SECRET=CHANGE_THIS_TO_A_STRONG_SECRET_KEY
|
|
JWT_EXPIRES_IN=7d
|
|
JWT_REFRESH_EXPIRES_IN=30d
|
|
|
|
# ===========================================
|
|
# WeChat Configuration
|
|
# ===========================================
|
|
WECHAT_APP_ID=your-wechat-app-id
|
|
WECHAT_APP_SECRET=your-wechat-app-secret
|
|
|
|
# ===========================================
|
|
# File Upload Configuration
|
|
# ===========================================
|
|
UPLOAD_PATH=/app/uploads
|
|
MAX_FILE_SIZE=5242880
|
|
|
|
# ===========================================
|
|
# Rate Limiting
|
|
# ===========================================
|
|
RATE_LIMIT_WINDOW=60000
|
|
RATE_LIMIT_MAX=100
|
|
|
|
# ===========================================
|
|
# Logging
|
|
# ===========================================
|
|
LOG_LEVEL=info
|