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:
@@ -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)
|
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的目录运行
|
在有项目的Dockerfile的目录运行
|
||||||
|
|
||||||
@@ -34,6 +43,12 @@ docker build -t xpzouying/xiaohongshu-mcp .
|
|||||||
|
|
||||||
## 2. 手动 Docker Compose
|
## 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
|
```bash
|
||||||
# 注意:在 docker-compose.yml 文件的同一个目录,或者手动指定 docker-compose.yml。
|
# 注意:在 docker-compose.yml 文件的同一个目录,或者手动指定 docker-compose.yml。
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
xiaohongshu-mcp:
|
xiaohongshu-mcp:
|
||||||
|
# Docker Hub 镜像(默认)
|
||||||
image: xpzouying/xiaohongshu-mcp
|
image: xpzouying/xiaohongshu-mcp
|
||||||
|
# 阿里云镜像源(国内用户推荐,拉取更快)
|
||||||
|
# image: crpi-hocnvtkomt7w9v8t.cn-beijing.personal.cr.aliyuncs.com/xpzouying/xiaohongshu-mcp
|
||||||
container_name: xiaohongshu-mcp
|
container_name: xiaohongshu-mcp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
tty: true
|
tty: true
|
||||||
|
|||||||
Reference in New Issue
Block a user