mirror of
https://github.com/missuo/FreeGPT35.git
synced 2025-10-13 13:58:14 +00:00
add lobe-chat compose yaml file (#37)
* Create compose_with_lobe_chat.yaml * Update README.md
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||
|
18
compose_with_lobe_chat.yaml
Normal file
18
compose_with_lobe_chat.yaml
Normal 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"
|
Reference in New Issue
Block a user