refactor(backend): 重构后端服务以支持Redis协议 feat(backend): 添加Redis客户端和服务模块 feat(backend): 实现命令和日志路由处理Redis交互 refactor(frontend): 重构前端状态管理和组件结构 feat(frontend): 实现基于Redis的日志和命令功能 docs: 添加Redis集成协议文档 chore: 更新ESLint配置和依赖
17 lines
670 B
Plaintext
17 lines
670 B
Plaintext
# Example environment variables for Web_BLS_ProjectConsole
|
|
# Copy this file to `.env` and fill values before running locally
|
|
|
|
# Redis connection
|
|
REDIS_HOST=localhost # 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)
|
|
|
|
# Application
|
|
# Optional: port for backend server. Current default in code is 3001 but you can override it here.
|
|
PORT=3001
|
|
|
|
# Node environment (development|production)
|
|
NODE_ENV=development
|