Files
Web_BLS_ProjectConsole/.env.example
XuJiacheng a8faa7dcaa feat: 重构项目心跳数据结构并实现相关功能
- 重构Redis心跳数据结构,使用统一的项目列表键
- 新增数据迁移工具和API端点
- 更新前端以使用真实项目数据
- 添加系统部署配置和文档
- 修复代码格式和样式问题
2026-01-15 14:14:10 +08:00

21 lines
774 B
Plaintext

# Example environment variables for Web_BLS_ProjectConsole
# Copy this file to `.env` and fill values before running locally
# Redis connection
REDIS_HOST=10.8.8.109 # Redis host (default: localhost)
REDIS_PORT=6379 # Redis port (default: 6379)
REDIS_PASSWORD= # Redis password (leave empty if not set)
REDIS_DB=0 # Redis database number (default: 0)
REDIS_CONNECT_TIMEOUT_MS=2000 # Connection timeout in ms (default: 2000)
# Command control (HTTP)
# Timeout for calling target project APIs (ms)
COMMAND_API_TIMEOUT_MS=5000
# Heartbeat liveness
# If now - lastActiveAt > threshold, treat project as offline (ms)
HEARTBEAT_OFFLINE_THRESHOLD_MS=10000
# Node environment (development|production)
NODE_ENV=development