quality-inspection-platform/.env.example
qihongkun f5143aee09 feat: 添加 Docker 部署支持和 MCP 原生集成
- 添加 Dockerfile、docker-compose.yml 和 Jenkins 流水线配置
- 新增 MCP 原生集成模块 (mcp_native.py)
- 移除旧的 mcp_bridge.py,更新依赖和文档
- 添加部署文档 (Docker 和服务器部署指南)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-25 14:21:43 +08:00

27 lines
789 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 复制为 .env 后修改cp .env.example .env
# 映射到宿主机的端口
QIP_HOST_PORT=8000
# 持久化数据目录SQLite、SSH 脚本等),挂载到容器 /data
QIP_DATA_HOST_DIR=/docker_data
# 生产务必修改
AUTH_TOKEN_SECRET=change-me-to-a-long-random-string
DEFAULT_SUPERADMIN_USERNAME=admin
DEFAULT_SUPERADMIN_PASSWORD=change-me-strong-password
DEFAULT_SUPERADMIN_DISPLAY_NAME=系统超管
# MCP 鉴权(建议 true
MCP_REQUIRE_API_KEY=true
# 从宿主机 / 其它机器用 Cursor 连 MCP 时建议 true
QIP_MCP_DISABLE_DNS_PROTECTION=true
# QIP_MCP_ALLOWED_HOSTS=10.0.0.5:8000,qip.internal:8000
# QIP_MCP_ALLOWED_ORIGINS=http://10.0.0.5:8000
# 可选Loki
# GENERAL_LOKI_EXPLORE_URL=https://grafana.example/explore
# LOKI_DATASOURCE=Loki
# LOKI_ORG_ID=1