Files
DeepSeekHarnessDocker/README.zh.md
T
SKYMirror 7444ba9ca0 docs: switch license to GPL-3.0; rewrite DEPLOY for official dsh@latest
Image installs official @deepseek-ai/dsh from npm on start. Document
port forward 3080→3081, mandatory browser token, and drop obsolete
fork release/monorepo guidance.
2026-09-16 00:30:59 +08:00

30 lines
1.1 KiB
Markdown
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.
# DeepSeek Harness Docker 部署
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(`dsh`)Web UI 的运行时镜像。
镜像只内置工具链。容器每次启动由 `docker/entrypoint.sh` 从 npm 安装官方 `@deepseek-ai/dsh@latest`,再经本地端口转发(`0.0.0.0:3080` → `127.0.0.1:3081`)启动 `dsh web`。
## 快速开始
```bash
docker compose build
docker compose up -d
docker logs -f dsh
# 用日志里带 ?token= 的 URL 打开一次(30 天 cookie)。宿主机访问 3080。
```
完整说明:[DEPLOY.md](DEPLOY.md)
## 目录
| 路径 | 作用 |
|------|------|
| `Dockerfile` | 工具链镜像(Node 24 / Python 3.11 / gcc / pnpm / rustup 引导) |
| `docker-compose.yml` | 端口、`dsh-data` 卷、工作区挂载 |
| `docker/entrypoint.sh` | 安装 `@deepseek-ai/dsh@latest` 并启动 web |
| `docker/ensure-rust.sh` | Rust 按需安装包装器 |
## 许可
GPL-3.0 — 见 [LICENSE](LICENSE)。本部署封装仓库采用 GNU General Public License v3.0。上游 DeepSeek Harness 本身仍为 MIT;仅本仓库的 Docker/部署文件适用 GPL-3.0。