调整打包部署

This commit is contained in:
2026-09-01 18:52:04 +08:00
parent 2ac36d7c72
commit 47f61587af
12 changed files with 157 additions and 54 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ python server.py # 启动 MCP Server(端口 8002)
| 变量 | 默认值 | 说明 |
|---|---|---|
| `CRM_DB_HOST` | 192.168.1.206 | PostgreSQL 主机 |
| `CRM_DB_HOST` | 10.100.154.100 | PostgreSQL 主机 |
| `CRM_DB_PORT` | 5432 | 端口 |
| `CRM_DB_USER` | postgres | 用户名 |
| `CRM_DB_PASSWORD` | digiwin | 密码 |
+1 -1
View File
@@ -4,7 +4,7 @@ import asyncpg
import os
DB_CONFIG = {
"host": os.getenv("CRM_DB_HOST", "192.168.1.206"),
"host": os.getenv("CRM_DB_HOST", "10.100.154.100"),
"port": int(os.getenv("CRM_DB_PORT", "5432")),
"user": os.getenv("CRM_DB_USER", "postgres"),
"password": os.getenv("CRM_DB_PASSWORD", "digiwin"),