Files

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