From 230d224c2c39082874d941e7f9b10e8761786f9f Mon Sep 17 00:00:00 2001 From: BrightChing Date: Sun, 5 May 2024 10:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Lobe-chat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/lobe-chat/0.153.1/data.yml | 27 +++++++++++++++++++++++ apps/lobe-chat/0.153.1/docker-compose.yml | 14 ++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 apps/lobe-chat/0.153.1/data.yml create mode 100644 apps/lobe-chat/0.153.1/docker-compose.yml diff --git a/apps/lobe-chat/0.153.1/data.yml b/apps/lobe-chat/0.153.1/data.yml new file mode 100644 index 0000000..9366e47 --- /dev/null +++ b/apps/lobe-chat/0.153.1/data.yml @@ -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 + + + diff --git a/apps/lobe-chat/0.153.1/docker-compose.yml b/apps/lobe-chat/0.153.1/docker-compose.yml new file mode 100644 index 0000000..652e714 --- /dev/null +++ b/apps/lobe-chat/0.153.1/docker-compose.yml @@ -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