Files
evotraders/frontend/env.template
2026-03-30 17:46:44 +08:00

25 lines
846 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Frontend Environment Variables Template
# 复制此文件为 .env 并修改配置
# 控制面 APIagent/workspaces/guard
VITE_CONTROL_API_BASE_URL=http://localhost:8000/api
# 运行时 APIstart/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