feat: 添加生产环境部署配置和文档

## 新增文件

### 部署文档
-  DEPLOYMENT.md - 生产环境部署指南
-  .env.production.example - 生产环境变量配置模板

### 生产环境配置
-  docker-compose.prod.yml - 生产环境 Docker Compose 配置
-  docker-compose.yml - 更新开发环境配置

## 配置说明

### 生产环境优化
- 使用生产级配置参数
- 优化资源限制和重启策略
- 添加健康检查和监控

### 环境变量模板
- 提供完整的生产环境配置示例
- 包含所有必需的环境变量
- 添加安全配置说明

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
wangliang
2026-01-27 14:01:13 +08:00
parent c8f26b6f9f
commit 754804219f
4 changed files with 805 additions and 0 deletions

View File

@@ -149,9 +149,16 @@ services:
context: ./mcp_servers/product_mcp
dockerfile: Dockerfile
container_name: ai_product_mcp
env_file:
- .env
environment:
HYPERF_API_URL: ${HYPERF_API_URL}
HYPERF_API_TOKEN: ${HYPERF_API_TOKEN}
MALL_API_URL: ${MALL_API_URL}
MALL_TENANT_ID: ${MALL_TENANT_ID:-2}
MALL_CURRENCY_CODE: ${MALL_CURRENCY_CODE:-EUR}
MALL_LANGUAGE_ID: ${MALL_LANGUAGE_ID:-1}
MALL_SOURCE: ${MALL_SOURCE:-us.qa1.gaia888.com}
LOG_LEVEL: ${LOG_LEVEL:-INFO}
ports:
- "8004:8004"