Skip to content

Commit

Permalink
📝 docs: Update docs/self-hosting/platform/docker-compose.zh-CN.mdx (l…
Browse files Browse the repository at this point in the history
…obehub#2204)

* Update `docs/self-hosting/platform/docker-compose.zh-CN.mdx`

* Update docker-compose.zh-CN.mdx

* Update docker-compose.zh-CN.mdx

---------

Co-authored-by: Arvin Xu <[email protected]>
  • Loading branch information
duolabmeng6 and arvinxx authored Apr 26, 2024
1 parent b7c0134 commit 1ca7cad
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions docs/self-hosting/platform/docker-compose.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ tags:

<div style={{display:"flex", gap: 4}}>

[![][docker-release-shield]][docker-release-link]
[![](https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square)](https://hub.docker.com/r/lobehub/lobe-chat)

[![][docker-size-shield]][docker-size-link]
[![](https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square)](https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square)

[![][docker-pulls-shield]][docker-pulls-link]
[![](https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11&labelColor=black&style=flat-square)](https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11&labelColor=black&style=flat-square)

</div>

我们提供了 [Docker 镜像][docker-release-link],供你在自己的私有设备上部署 LobeChat 服务。
我们提供了 [Docker 镜像](https://hub.docker.com/r/lobehub/lobe-chat) ,供你在自己的私有设备上部署 LobeChat 服务。

<Steps>

Expand Down Expand Up @@ -57,16 +57,17 @@ $ yum install docker
version: '3.8'

services:
lobe-chat:
image: lobehub/lobe-chat
container_name: lobe-chat
restart: always
ports:
- '3210:3210'
environment:
OPENAI_API_KEY: sk-xxxx
OPENAI_PROXY_URL: https://api-proxy.com/v1
ACCESS_CODE: lobe66
lobe-chat:
image: lobehub/lobe-chat
container_name: lobe-chat
restart: always
ports:
- '3210:3210'
environment:
OPENAI_API_KEY: sk-xxxx
OPENAI_PROXY_URL: https://api-proxy.com/v1
ACCESS_CODE: lobe66

```

运行以下命令启动 Lobe Chat 服务:
Expand Down Expand Up @@ -131,10 +132,3 @@ Configure Crontab to execute the script every 5 minutes:
```

</Steps>

[docker-pulls-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-pulls-shield]: https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11&labelColor=black&style=flat-square
[docker-release-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
[docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square

0 comments on commit 1ca7cad

Please sign in to comment.