更新 lobe-chat
This commit is contained in:
parent
230d224c2c
commit
5308e330ad
|
@ -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
|
||||
|
||||
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue