Initial commit of integrated agent system
This commit is contained in:
24
frontend/env.template
Normal file
24
frontend/env.template
Normal file
@@ -0,0 +1,24 @@
|
||||
# Frontend Environment Variables Template
|
||||
# 复制此文件为 .env 并修改配置
|
||||
|
||||
# 控制面 API(agent/workspaces/guard)
|
||||
VITE_CONTROL_API_BASE_URL=http://localhost:8000/api
|
||||
|
||||
# 运行时 API(start/stop/runtime info)
|
||||
VITE_RUNTIME_API_BASE_URL=http://localhost:8003/api/runtime
|
||||
|
||||
# 新闻服务(可选,未配置时走默认回退)
|
||||
VITE_NEWS_SERVICE_URL=http://localhost:8002
|
||||
|
||||
# 交易数据服务(可选,未配置时走默认回退)
|
||||
VITE_TRADING_SERVICE_URL=http://localhost:8001
|
||||
|
||||
# WebSocket Gateway
|
||||
VITE_WS_URL=ws://localhost:8765
|
||||
|
||||
# 生产环境示例
|
||||
# VITE_CONTROL_API_BASE_URL=https://your-domain.com/api
|
||||
# VITE_RUNTIME_API_BASE_URL=https://your-domain.com/api/runtime
|
||||
# VITE_NEWS_SERVICE_URL=https://your-domain.com/news
|
||||
# VITE_TRADING_SERVICE_URL=https://your-domain.com/trading
|
||||
# VITE_WS_URL=wss://your-domain.com/ws
|
||||
Reference in New Issue
Block a user