Skip to content

Commit 30a1e87

Browse files
authored
Update Docker image version in README
Updated Docker image version from v2.1 to v2.2-beta.2
1 parent a770538 commit 30a1e87

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,18 @@ MinDoc 如果使用MySQL储存数据,则编码必须是`utf8mb4_general_ci`。
7979

8080
### 安装 musl-gcc
8181
```bash
82+
# 手动安装
8283
wget -c http://musl.libc.org/releases/musl-1.2.2.tar.gz
8384
tar -xvf musl-1.2.2.tar.gz
8485
cd musl-1.2.2
8586
./configure
8687
make
8788
sudo make install
89+
# apt 安装
90+
sudo apt install musl-tools
8891
```
92+
93+
8994
### 使用 musl-gcc 编译 mindoc
9095
```bash
9196
go mod tidy -v
@@ -142,13 +147,13 @@ MINDOC_ENABLE_EXPORT 开启导出(默认为false)
142147
##### Windows
143148
```bash
144149
set MINDOC=//d/mindoc
145-
docker run -it --name=mindoc --restart=always -v "%MINDOC%/conf":"/mindoc/conf" -p 8181:8181 -e MINDOC_ENABLE_EXPORT=true -d registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.1
150+
docker run -it --name=mindoc --restart=always -v "%MINDOC%/conf":"/mindoc/conf" -p 8181:8181 -e MINDOC_ENABLE_EXPORT=true -d registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.2-beta.2
146151
```
147152

148153
##### Linux、Mac
149154
```bash
150155
export MINDOC=/home/ubuntu/mindoc-docker
151-
docker run -it --name=mindoc --restart=always -v "${MINDOC}/conf":"/mindoc/conf" -p 8181:8181 -e MINDOC_ENABLE_EXPORT=true -d registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.1
156+
docker run -it --name=mindoc --restart=always -v "${MINDOC}/conf":"/mindoc/conf" -p 8181:8181 -e MINDOC_ENABLE_EXPORT=true -d registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.2-beta.2
152157
```
153158

154159
##### 举个栗子-更多环境变量示例(镜像已过期,仅供参考,请以当前镜像为准)
@@ -363,4 +368,4 @@ mcp_api_key="${MINDOC_MCP_API_KEY||demo-mcp-api-key}"
363368
- database/
364369
- conf/
365370
- ...
366-
```
371+
```

0 commit comments

Comments
 (0)