mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 21:02:18 +08:00
feat:添加open-webui到列表
This commit is contained in:
parent
3de5fd6cb3
commit
f9eeb5dde4
57
apps/open-webui/README.md
Normal file
57
apps/open-webui/README.md
Normal file
@ -0,0 +1,57 @@
|
||||
# 使用说明
|
||||
|
||||
- 首次注册的账户即为管理员账户。
|
||||
|
||||
- **安装 `gpu` 版本时,`1Panel` `v1.10.3-lts`以下版本会覆盖`docker-compose.yml`的`gpu`设置,所以最好安装完成后检查一下,**
|
||||
**不对则用以下覆盖并在应用目录下手动执行`docker-compose down && docker-compose up -d`。**
|
||||
|
||||
```
|
||||
version: '3.3'
|
||||
services:
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:cuda
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||
environment:
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL}
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- capabilities: [gpu]
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/app/backend/data"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
```
|
||||
|
||||
# 原始相关
|
||||
***
|
||||
|
||||
# Open WebUI (Formerly Ollama WebUI) 👋
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
[](https://discord.gg/5rJgQTnV4s)
|
||||
[](https://github.com/sponsors/tjbck)
|
||||
|
||||
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted WebUI designed to operate entirely offline. It supports various LLM runners, including Ollama and OpenAI-compatible APIs. For more information, be sure to check out our [Open WebUI Documentation](https://docs.openwebui.com/).
|
19
apps/open-webui/data.yml
Normal file
19
apps/open-webui/data.yml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Open WebUI
|
||||
tags:
|
||||
- AI / 大模型
|
||||
title: 大语言模型 (LLMs) 的用户友好型网络界面
|
||||
description: 大语言模型 (LLMs) 的用户友好型网络界面
|
||||
additionalProperties:
|
||||
key: open-webui
|
||||
name: Open WebUI
|
||||
tags:
|
||||
- AI
|
||||
shortDescZh: 大语言模型 (LLMs) 的用户友好型网络界面
|
||||
shortDescEn: User-friendly WebUI for LLMs
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://openwebui.com
|
||||
github: https://github.com/open-webui/open-webui
|
||||
document: https://docs.openwebui.com
|
4
apps/open-webui/gpu-cuda/.env.sample
Normal file
4
apps/open-webui/gpu-cuda/.env.sample
Normal file
@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="open-webui"
|
||||
OLLAMA_BASE_URL=""
|
||||
OPENAI_API_KEY=""
|
||||
PANEL_APP_PORT_HTTP="40245"
|
31
apps/open-webui/gpu-cuda/data.yml
Normal file
31
apps/open-webui/gpu-cuda/data.yml
Normal file
@ -0,0 +1,31 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40245
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: OLLAMA_BASE_URL
|
||||
labelEn: Ollama Base URL (example:https://example.com)
|
||||
labelZh: Ollama 基础 URL (例:https://example.com)
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: OPENAI_API_KEY
|
||||
labelEn: OpenAI API Key
|
||||
labelZh: OpenAI API 密钥
|
||||
required: false
|
||||
type: password
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data Path
|
||||
labelZh: 数据路径
|
||||
required: true
|
||||
type: text
|
29
apps/open-webui/gpu-cuda/docker-compose.yml
Normal file
29
apps/open-webui/gpu-cuda/docker-compose.yml
Normal file
@ -0,0 +1,29 @@
|
||||
version: '3.3'
|
||||
services:
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:cuda
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||
environment:
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL}
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- capabilities: [gpu]
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/app/backend/data"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
BIN
apps/open-webui/logo.png
Normal file
BIN
apps/open-webui/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
4
apps/open-webui/main/.env.sample
Normal file
4
apps/open-webui/main/.env.sample
Normal file
@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="open-webui"
|
||||
OLLAMA_BASE_URL=""
|
||||
OPENAI_API_KEY=""
|
||||
PANEL_APP_PORT_HTTP="40245"
|
31
apps/open-webui/main/data.yml
Normal file
31
apps/open-webui/main/data.yml
Normal file
@ -0,0 +1,31 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40245
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: OLLAMA_BASE_URL
|
||||
labelEn: Ollama Base URL (example:https://example.com)
|
||||
labelZh: Ollama 基础 URL (例:https://example.com)
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: OPENAI_API_KEY
|
||||
labelEn: OpenAI API Key
|
||||
labelZh: OpenAI API 密钥
|
||||
required: false
|
||||
type: password
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data Path
|
||||
labelZh: 数据路径
|
||||
required: true
|
||||
type: text
|
23
apps/open-webui/main/docker-compose.yml
Normal file
23
apps/open-webui/main/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: '3.3'
|
||||
services:
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:main
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||
environment:
|
||||
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL}
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/app/backend/data"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user