lobehub docker-compose部署

docker-compose文件

1
2
3
4
5
6
7
8
9
10
11
12
13
version: '3.8'

services:
lobe-chat:
image: lobehub/lobe-chat
container_name: lobe-chat
restart: always
ports:
- '3210:3210'
environment:
OPENAI_API_KEY: sk-kfu138GoMvCMYaPe2cA3285fCb3a4112AcAfF66a5830F9E9 # oneapi key
OPENAI_PROXY_URL: http://192.168.31.163:3000/v1 # oneapi信息
ACCESS_CODE: lobe66

参考官网:

https://lobehub.com/zh/docs/usage/start?utm_source=chat_preview

对接oneapi参考:

http://sunlight.zznnwn.cloudns.biz/2024/04/09/one-api%E9%83%A8%E7%BD%B2/?highlight=api