add lobe-chat image: lobehub/lobe-chat-pglite
This commit is contained in:
parent
8461188f3b
commit
83badaa1f0
|
|
@ -0,0 +1,7 @@
|
|||
ACCESS_CODE="access_password"
|
||||
CONTAINER_NAME="lobe-chat"
|
||||
OPENAI_API_KEY="sk-xxx"
|
||||
OPENAI_MODEL_LIST=""
|
||||
OPENAI_PROXY_URL="https://api.openai.com/v1"
|
||||
PANEL_APP_PORT_HTTP="40247"
|
||||
SEARXNG_URL="https://searxng-instance.com"
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40247
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "password"
|
||||
edit: true
|
||||
envKey: OPENAI_API_KEY
|
||||
labelEn: OpenAI API Key
|
||||
labelZh: OpenAI API 密钥
|
||||
required: false
|
||||
type: password
|
||||
- default: "https://api.openai.com/v1"
|
||||
edit: true
|
||||
envKey: OPENAI_PROXY_URL
|
||||
labelEn: OpenAI Proxy URL
|
||||
labelZh: OpenAI 代理 URL
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ACCESS_CODE
|
||||
labelEn: Access Code
|
||||
labelZh: 访问密码
|
||||
random: true
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: OPENAI_MODEL_LIST
|
||||
labelEn: OpenAI Model List
|
||||
labelZh: OpenAI 模型列表
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SEARXNG_URL
|
||||
labelEn: SEARXNG_URL
|
||||
labelZh: searxng地址
|
||||
required: false
|
||||
type: text
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
services:
|
||||
lobe-chat:
|
||||
image: lobehub/lobe-chat-pglite:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3210"
|
||||
environment:
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
- OPENAI_PROXY_URL=${OPENAI_PROXY_URL}
|
||||
- ACCESS_CODE=${ACCESS_CODE}
|
||||
- OPENAI_MODEL_LIST=${OPENAI_MODEL_LIST}
|
||||
- SEARXNG_URL=${SEARXNG_URL}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Loading…
Reference in New Issue