mirror of https://github.com/mindoc-org/mindoc.git
Update README.md
parent
ac772930b2
commit
138e687fbc
|
@ -104,13 +104,13 @@ MINDOC_ENABLE_EXPORT 开启导出(默认为false)
|
|||
##### 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.4
|
||||
```
|
||||
|
||||
##### 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.4
|
||||
```
|
||||
|
||||
##### 举个栗子-更多环境变量示例(镜像已过期,仅供参考,请以当前镜像为准)
|
||||
|
|
Loading…
Reference in New Issue