mirror of https://github.com/mindoc-org/mindoc.git
parent
85e31ae106
commit
8ad0084d12
|
@ -127,17 +127,17 @@ HTTP_PORT 程序监听的端口号
|
|||
MINDOC_ENABLE_EXPORT 开启导出(默认为false)
|
||||
```
|
||||
|
||||
### 举个栗子-当前(公开)镜像(信息页面: https://cr.console.aliyun.com/images/cn-hangzhou/mindoc-org/mindoc/detail)
|
||||
### 举个栗子-当前(公开)镜像(信息页面: https://cr.console.aliyun.com/images/cn-hangzhou/mindoc-org/mindoc/detail , 需要登录阿里云账号才可访问列表)
|
||||
##### Windows
|
||||
```bash
|
||||
set MINDOC=//d/mindoc
|
||||
docker run -it --name=mindoc --restart=always -v "%MINDOC%":"/mindoc-sync-host" -p 8181:8181 -e MINDOC_ENABLE_EXPORT=true -d registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.1-beta.4
|
||||
docker run -it --name=mindoc --restart=always -v "%MINDOC%":"/mindoc-sync-host" -p 8181:8181 -e MINDOC_ENABLE_EXPORT=true -d registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.1-beta.5
|
||||
```
|
||||
|
||||
##### Linux、Mac
|
||||
```bash
|
||||
export MINDOC=/home/ubuntu/mindoc-docker
|
||||
docker run -it --name=mindoc --restart=always -v "${MINDOC}":"/mindoc-sync-host" -p 8181:8181 -e MINDOC_ENABLE_EXPORT=true -d registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.1-beta.4
|
||||
docker run -it --name=mindoc --restart=always -v "${MINDOC}":"/mindoc-sync-host" -p 8181:8181 -e MINDOC_ENABLE_EXPORT=true -d registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.1-beta.5
|
||||
```
|
||||
|
||||
##### 举个栗子-更多环境变量示例(镜像已过期,仅供参考,请以当前镜像为准)
|
||||
|
|
Loading…
Reference in New Issue