chore: 重命名.env.exa为.env.example作为配置模板

This commit is contained in:
lulistart
2026-02-18 03:00:50 +08:00
parent f9c4e52970
commit 24ce212f91
2 changed files with 18 additions and 1 deletions

18
.env.example Normal file
View File

@@ -0,0 +1,18 @@
# 服务器端口
PORT=3000
# Token 文件路径
TOKEN_FILE=./token.json
# 模型列表文件路径
MODELS_FILE=./models.json
# HTTP 代理(可选,用于 token 刷新)
# HTTP_PROXY=http://127.0.0.1:7890
# HTTPS_PROXY=http://127.0.0.1:7890
# 负载均衡策略(可选)
# round-robin: 轮询(默认)
# random: 随机选择
# least-used: 最少使用(选择请求次数最少的账号)
LOAD_BALANCE_STRATEGY=round-robin

1
.gitignore vendored
View File

@@ -4,6 +4,5 @@ token.json
*.log
.DS_Store
database/app.db
.env.exa
plans/
UI.md