quality-inspection-platform/.env.example
qihongkun 32cfb20999 update: 调整默认密码和 Jenkins 部署路径配置
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-25 14:54:01 +08:00

27 lines
747 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=Sto1234@
DEFAULT_SUPERADMIN_USERNAME=admin
DEFAULT_SUPERADMIN_PASSWORD=Sto1234@
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