File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -79,13 +79,18 @@ MinDoc 如果使用MySQL储存数据,则编码必须是`utf8mb4_general_ci`。
7979
8080### 安装 musl-gcc
8181``` bash
82+ # 手动安装
8283wget -c http://musl.libc.org/releases/musl-1.2.2.tar.gz
8384tar -xvf musl-1.2.2.tar.gz
8485cd musl-1.2.2
8586./configure
8687make
8788sudo make install
89+ # apt 安装
90+ sudo apt install musl-tools
8891```
92+
93+
8994### 使用 musl-gcc 编译 mindoc
9095``` bash
9196go mod tidy -v
@@ -142,13 +147,13 @@ MINDOC_ENABLE_EXPORT 开启导出(默认为false)
142147##### Windows
143148``` bash
144149set 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
150155export 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+ ```
You can’t perform that action at this time.
0 commit comments