add lobe-chat compose yaml file (#37)

* Create compose_with_lobe_chat.yaml

* Update README.md
This commit is contained in:
cl1107
2024-04-11 06:25:20 +08:00
committed by GitHub
parent 6814322534
commit 4075a3472b
2 changed files with 28 additions and 0 deletions

View File

@@ -51,6 +51,16 @@ docker compose up -d
After deployment, you can directly access `http://[IP]:3040/v1/chat/completions` to use the API. Or use `http://[IP]:3000` to directly use **ChatGPT-Next-Web**.
#### FreeGPT35 Service with [lobe-chat](https://github.com/lobehub/lobe-chat)):
```bash
mkdir freegpt35 && cd freegpt35
wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/compose_with_lobe_chat.yaml
docker compose up -d
```
After deployment, you can directly access `http://[IP]:3040/v1/chat/completions` to use the API. Or use `http://[IP]:3210` to directly use **lobe-chat**.
### Nginx Reverse Proxy
```nginx

View File

@@ -0,0 +1,18 @@
services:
lobe-chat:
image: lobehub/lobe-chat
container_name: lobe-chat
restart: always
ports:
- '3210:3210'
environment:
OPENAI_API_KEY: gptyyds
OPENAI_PROXY_URL: http://freegpt35:3040/v1
ACCESS_CODE: HelloGPT
freegpt35:
image: missuo/freegpt35:latest
restart: always
ports:
- "3040:3040"