mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-13 21:27:25 +08:00
introduce uptime monitor for easytier public nodes (#1250)
This commit is contained in:
29
easytier-contrib/easytier-uptime/.env.example
Normal file
29
easytier-contrib/easytier-uptime/.env.example
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user