2026-01-12 19:55:51 +08:00
|
|
|
# Example environment variables for Web_BLS_ProjectConsole
|
|
|
|
|
# Copy this file to `.env` and fill values before running locally
|
|
|
|
|
|
|
|
|
|
# Redis connection
|
2026-01-13 19:45:05 +08:00
|
|
|
REDIS_HOST=10.8.8.109 # Redis host (default: localhost)
|
2026-01-12 19:55:51 +08:00
|
|
|
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)
|
|
|
|
|
|
2026-01-13 19:45:05 +08:00
|
|
|
# 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
|
|
|
|
|
|
2026-01-12 19:55:51 +08:00
|
|
|
# Node environment (development|production)
|
|
|
|
|
NODE_ENV=development
|