quality-inspection-platform/.env.example
qihongkun 18c14f18af refactor: Jenkins 流水线改用 Publish Over SSH 插件
- 将 sshagent + rsync 方式替换为 sshPublisher 方式
- 移除手动 SSH 参数配置,使用固定服务器配置
- 更新默认管理员密码

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

27 lines
772 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=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