docs: 添加阿里云镜像源使用说明 (#320)

- README 新增阿里云镜像源拉取章节
- README 添加 Docker Compose 切换镜像源提示
- docker-compose.yml 添加阿里云镜像注释

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
zy
2025-12-07 16:38:58 +08:00
committed by GitHub
parent 02cd8a7488
commit 3f36e7b42e
2 changed files with 19 additions and 1 deletions

View File

@@ -20,7 +20,16 @@ docker pull xpzouying/xiaohongshu-mcp
Docker Hub 地址:[https://hub.docker.com/r/xpzouying/xiaohongshu-mcp](https://hub.docker.com/r/xpzouying/xiaohongshu-mcp)
### 1.2 自己构建镜像(可选
### 1.2 从阿里云镜像源拉取(国内用户推荐
国内用户可以使用阿里云容器镜像服务,拉取速度更快:
```bash
# 拉取最新镜像
docker pull crpi-hocnvtkomt7w9v8t.cn-beijing.personal.cr.aliyuncs.com/xpzouying/xiaohongshu-mcp
```
### 1.3 自己构建镜像(可选)
在有项目的Dockerfile的目录运行
@@ -34,6 +43,12 @@ docker build -t xpzouying/xiaohongshu-mcp .
## 2. 手动 Docker Compose
> **国内用户提示**:如需使用阿里云镜像源,请修改 `docker-compose.yml` 文件,注释掉 Docker Hub 镜像行,取消阿里云镜像行的注释:
> ```yaml
> # image: xpzouying/xiaohongshu-mcp
> image: crpi-hocnvtkomt7w9v8t.cn-beijing.personal.cr.aliyuncs.com/xpzouying/xiaohongshu-mcp
> ```
```bash
# 注意:在 docker-compose.yml 文件的同一个目录,或者手动指定 docker-compose.yml。