更新Lobe-chat

This commit is contained in:
brightching 2024-05-05 10:14:33 +08:00
parent a52017e41d
commit 230d224c2c
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,27 @@
additionalProperties:
formFields:
- default: 3210
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: LobeChat run port
labelZh: LobeChat 运行端口
required: true
rule: paramPort
type: number
- default: sk-xxxx
edit: true
envKey: OPENAI_API_KEY
labelEn: OPENAI API KEY
labelZh: LobeChat身份验证令牌
required: true
type: text
- default: http://10.2.2.2:11434/v1
edit: true
envKey: OPENAI_PROXY_URL
labelEn: OpenAI proxy url
labelZh: OpenAI代理URL
required: true
type: text

View File

@ -0,0 +1,14 @@
services:
lobe-chat:
image: lobehub/lobe-chat
container_name: ${CONTAINER_NAME}
restart: always
ports:
- "${PANEL_APP_PORT_HTTP}:3210"
environment:
OPENAI_API_KEY: sk-xxxx
OPENAI_PROXY_URL: https://api-proxy.com/v1
ACCESS_CODE: angel.
networks:
1panel-network:
external: true