Skip to content

Commit

Permalink
docs: 修改Node-OpenMCIM的Docker地址
Browse files Browse the repository at this point in the history
  • Loading branch information
pysio2007 committed Oct 9, 2024
1 parent c490f44 commit 81d0300
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/posts/develop/OpenMCIM.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ docker run -d \
-e CLUSTER_SECRET=${CLUSTER_SECRET} \
-e CLUSTER_PUBLIC_PORT=${CLUSTER_PORT} \
-e TZ=Asia/Shanghai \
-v /data/openmcim:/opt/openmcim/cache \
-p ${CLUSTER_PORT}:4000 \
--restart always \
--name openmcim \
pysio/openmcim
-v /data/mcim:/opt/mcim \
-p ${CLUSTER_PORT}:${CLUSTER_PORT} \
--restart unless-stop \
--name mcim \
zerowolf233/mcim
```

### 从源码安装
Expand Down Expand Up @@ -128,7 +128,7 @@ node dist/index.js

3. 如果你看到了 `CLUSTER_ID is not set` 的报错, 说明一切正常, 该设置参数了

### 设置参数
#### 设置参数

在项目根目录创建一个文件, 名为 `.env`

Expand Down

0 comments on commit 81d0300

Please sign in to comment.