Skip to content

Commit

Permalink
Update deploy-with-docker.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
SilianZ authored Jun 22, 2024
1 parent cb9695e commit 814f2c5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions docs/deploy-with-docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@ title: 使用 Docker
docker pull silianz/python-openbmclapi:latest
```

````mdx-code-block
::::info
````

你也可使用镜像源进行拉取:

```sh
docker pull registry.cn-hangzhou.aliyuncs.com/silianz/python-openbmclapi:latest
```

````
::::
````

3. 创建容器:

Expand All @@ -46,9 +42,7 @@ title: 使用 Docker

`cluster.secret` - 即 `CLUSTER_SECRET`

````mdx-code-block
::::info
````

其他配置参数请参见[配置文件](/docs/advanced/configuration),请使用**命名空间 ID** 将相应的配置项作为环境变量传入到 Docker 容器中。

Expand All @@ -58,9 +52,7 @@ title: 使用 Docker
-v /path/to/your/config/file:/opt/python-openbmclapi/config/config.yml
```

````mdx-code-block
:::tip 命名空间 ID
````

命名空间 ID 是将配置项传入 Docker 容器的一种方法。

Expand All @@ -81,7 +73,5 @@ dashboard.websocker=true

在转化配置项为命名空间 ID 时,使用 `.` 连接配置项的键与值。

````mdx-code-block
:::
::::
````

0 comments on commit 814f2c5

Please sign in to comment.