.env.example 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # ===== DeepSeek Harness Web Docker 配置 | DeepSeek Harness Web Docker configuration =====
  2. # 复制为 .env 后编辑(.env 不入库,含敏感信息)
  3. #
  4. # Copy to .env and edit (.env is not committed; it contains sensitive info)
  5. # basic auth 用户名(必填)| Basic auth username (required)
  6. DSH_AUTH_USER=admin
  7. # basic auth 明文密码(必填,容器启动时自动生成 bcrypt 哈希)
  8. #
  9. # Basic auth plaintext password (required; a bcrypt hash is auto-generated at container startup)
  10. DSH_AUTH_PASSWORD=change-me
  11. # DeepSeek API Key(必填,settings.yaml 经 apiKeyEnv 引用)
  12. #
  13. # DeepSeek API Key (required; referenced by settings.yaml via apiKeyEnv)
  14. DEEPSEEK_API_KEY=sk-xxxxxxxxxxxxxxxx
  15. # 宿主机对外端口(可选,默认 3080;本机已有服务占用时请修改)
  16. #
  17. # Host-facing port (optional, default 3080; change it if the local port is already in use)
  18. DSH_WEB_PORT=3080
  19. # 额外受信 Host(可选,逗号分隔;公网域名/自定义域名访问时填写,
  20. # 注入 profile 的 cordis.patch.yml。仅当该文件不存在或仍为空模板时自动注入,
  21. # 已维护则跳过(请直接编辑该文件)。默认靠 Caddy 改写 loopback 已覆盖常规访问)
  22. #
  23. # Additional trusted hosts (optional, comma-separated; fill in for public/custom domain access,
  24. # injected into the profile's cordis.patch.yml. Auto-injected only when the file is absent or still
  25. # the empty template; user-maintained files are skipped (edit the file directly).
  26. # The Caddy loopback rewrite covers regular access by default)
  27. #DSH_TRUSTED_HOSTS=dsh.example.com,example.org
  28. # dsh 版本(构建期,可选;默认 0.1.0-rc.6,改后需 --build 重建镜像)
  29. #
  30. # dsh version (build-time, optional; default 0.1.0-rc.6; rebuild with --build after changing)
  31. #DSH_VERSION=0.1.0-rc.6