feat20260306 增加了industry-deep技能,行业深度研究
This commit is contained in:
15
industry-deep/scripts/db_config.py
Normal file
15
industry-deep/scripts/db_config.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""数据库连接配置 —— 供 industry-deep Skill 查询脚本使用。
|
||||
|
||||
优先读取环境变量 INDUSTRY_DEEP_DB_*,否则使用默认值。
|
||||
"""
|
||||
import os
|
||||
|
||||
DB_CONFIG = {
|
||||
"host": os.environ.get("INDUSTRY_DEEP_DB_HOST", "192.168.1.10"),
|
||||
"port": int(os.environ.get("INDUSTRY_DEEP_DB_PORT", "3306")),
|
||||
"user": os.environ.get("INDUSTRY_DEEP_DB_USER", "sunjiewei"),
|
||||
"password": os.environ.get("INDUSTRY_DEEP_DB_PASS", "sunjiewei@vf"),
|
||||
"database": os.environ.get("INDUSTRY_DEEP_DB_NAME", "industry_deep"),
|
||||
"charset": "utf8mb4",
|
||||
}
|
||||
Reference in New Issue
Block a user