Files
EasyTier/easytier-contrib/easytier-uptime/.env.example

29 lines
613 B
Plaintext

# Server Configuration
SERVER_HOST=127.0.0.1
SERVER_PORT=8080
# Database Configuration
DATABASE_PATH=uptime.db
DATABASE_MAX_CONNECTIONS=10
# Health Check Configuration
HEALTH_CHECK_INTERVAL=30
HEALTH_CHECK_TIMEOUT=10
HEALTH_CHECK_RETRIES=3
# Logging Configuration
RUST_LOG=info
LOG_LEVEL=info
# CORS Configuration
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080
CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,OPTIONS
CORS_ALLOWED_HEADERS=content-type,authorization
# Production Configuration
NODE_ENV=development
API_BASE_URL=/api
# Security Configuration
ENABLE_COMPRESSION=true
ENABLE_CORS=true