-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (34 loc) · 1.13 KB
/
.env.example
File metadata and controls
41 lines (34 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# ==================== 默认 DM8 数据库连接 ====================
DM_HOST=localhost
DM_PORT=5236
DM_USER=SYSDBA
DM_PASSWORD=SYSDBA
DM_SCHEMA=
# ==================== 多数据库/多实例/多用户配置 ====================
# 命名规则:DB_{类型}_{实例}_{属性}
# 代码自动扫描所有 DB_* 开头的环境变量,无需手动枚举类型和实例
DB_DM8_LOCAL_HOST=127.0.0.1
DB_DM8_LOCAL_PORT=5236
DB_DM8_LOCAL_USERS=SYSDBA
DB_DM8_LOCAL_PASS_SYSDBA=SYSDBA
# dm8:test 实例(示例)
# DB_DM8_TEST_HOST=192.168.1.100
# DB_DM8_TEST_PORT=5236
# DB_DM8_TEST_USERS=app_user
# DB_DM8_TEST_PASS_APP_USER=secret
# ==================== 大模型 API 配置 ====================
# 默认 LLM 平台: zhipu | deepseek
LLM_DEFAULT=zhipu
# -- 智谱 glm-4.7-flash --
ZHIPU_API_KEY=your-api-key-here
ZHIPU_API_BASE=https://open.bigmodel.cn/api/paas/v4
ZHIPU_MODEL=glm-4.7-flash
# -- DeepSeek --
DEEPSEEK_API_KEY=your-api-key-here
DEEPSEEK_API_BASE=https://api.deepseek.com/v1
DEEPSEEK_MODEL=deepseek-chat
# 共享参数
LLM_TEMPERATURE=0
LLM_MAX_TOKENS=2048
# ==================== 其他配置 ====================
EXPORT_DIR=export_dir