mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 20:57:26 +08:00
21 lines
549 B
Plaintext
21 lines
549 B
Plaintext
# Production Environment Configuration
|
|
SERVER_HOST=0.0.0.0
|
|
SERVER_PORT=8080
|
|
DATABASE_PATH=/var/lib/easytier-uptime/uptime.db
|
|
DATABASE_MAX_CONNECTIONS=20
|
|
HEALTH_CHECK_INTERVAL=30
|
|
HEALTH_CHECK_TIMEOUT=10
|
|
HEALTH_CHECK_RETRIES=3
|
|
RUST_LOG=info
|
|
LOG_LEVEL=info
|
|
CORS_ALLOWED_ORIGINS=https://yourdomain.com
|
|
CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,OPTIONS
|
|
CORS_ALLOWED_HEADERS=content-type,authorization
|
|
NODE_ENV=production
|
|
API_BASE_URL=/api
|
|
ENABLE_COMPRESSION=true
|
|
ENABLE_CORS=true
|
|
|
|
# Security
|
|
SECRET_KEY=your-secret-key-here
|
|
JWT_SECRET=your-jwt-secret-here |