| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- # ===== DeepSeek Harness Web Docker 配置 | DeepSeek Harness Web Docker configuration =====
- # 复制为 .env 后编辑(.env 不入库,含敏感信息)
- #
- # Copy to .env and edit (.env is not committed; it contains sensitive info)
- # dsh 0.1.2-rc.1+:鉴权迁回 dsh 自身(一次性 token + 持久 cookie),caddy basic auth 已移除。
- # 下面两个变量自 0.1.2-rc.1 起不再被 caddy 使用,**仅在回退到 ≤0.1.1-rc.2 时生效**——
- # 留作兼容位,默认值仍按旧版填写;不修改即可平滑运行新版本(无副作用,仅占用 .env 几行)
- #
- # dsh 0.1.2-rc.1+: authentication moved into dsh itself (one-time token + persistent cookie);
- # Caddy basic auth is removed. The two variables below are unused by Caddy since 0.1.2-rc.1
- # and only take effect on a rollback to ≤0.1.1-rc.2 — kept for compatibility, defaults
- # unchanged (no side effects on 0.1.2-rc.1+; just a few .env lines)
- DSH_AUTH_USER=admin
- DSH_AUTH_PASSWORD=change-me
- # DeepSeek API Key(必填,settings.yaml 经 apiKeyEnv 引用)
- #
- # DeepSeek API Key (required; referenced by settings.yaml via apiKeyEnv)
- DEEPSEEK_API_KEY=sk-xxxxxxxxxxxxxxxx
- # 宿主机对外端口(可选,默认 3080;本机已有服务占用时请修改)
- #
- # Host-facing port (optional, default 3080; change it if the local port is already in use)
- DSH_WEB_PORT=3080
- # 额外受信 Host(可选,逗号分隔;公网域名/自定义域名访问时填写,
- # 注入 profile 的 cordis.patch.yml。仅当该文件不存在或仍为空模板时自动注入,
- # 已维护则跳过(请直接编辑该文件)。默认靠 Caddy 改写 loopback 已覆盖常规访问)
- #
- # Additional trusted hosts (optional, comma-separated; fill in for public/custom domain access,
- # injected into the profile's cordis.patch.yml. Auto-injected only when the file is absent or still
- # the empty template; user-maintained files are skipped (edit the file directly).
- # The Caddy loopback rewrite covers regular access by default)
- #DSH_TRUSTED_HOSTS=dsh.example.com,example.org
- # dsh 版本(构建期,可选;默认 0.1.2-rc.1,改后需 --build 重建镜像)
- #
- # dsh version (build-time, optional; default 0.1.2-rc.1; rebuild with --build after changing)
- #DSH_VERSION=0.1.2-rc.1
|