更新 Open WebUI 配置,增加运行端口和代理URL

This commit is contained in:
brightching 2024-06-05 16:59:03 +08:00
parent 5308e330ad
commit 71a247d804
5 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 3000
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Open WebUI run port
labelZh: Open WebUI 运行端口
required: true
rule: paramPort
type: number
- default: http://10.2.2.2:11434/v1
edit: true
envKey: OLLAMA_BASE_URL
labelEn: OLLAMA_BASE_URL
labelZh: OLLAMA_BASE_URL代理URL
required: true
type: text

View File

@ -0,0 +1,14 @@
services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: ${CONTAINER_NAME}
restart: always
environment:
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL}
volumes:
- ./open-webui:/home/nacos/data
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
networks:
1panel-network:
external: true

View File

19
apps/open-webui/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: Open WebUI
tags:
- 中间件
title: Open web是一种可扩展、功能丰富、用户友好的自托管web旨在完全离线运行。
description: 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.
additionalProperties:
key: nacos
name: Nacos
tags:
- Middleware
shortDescZh: Open web是一种可扩展、功能丰富、用户友好的自托管web旨在完全离线运行。
shortDescEn: Open WebUI is an extensible, feature-rich, and user-friendly self-hosted WebUI designed to operate entirely offline.
type: tool
crossVersionUpdate: false
limit: 1
recommend: 0
website: https://docs.openwebui.com/
github: https://github.com/open-webui/open-webui
document: https://docs.openwebui.com/

BIN
apps/open-webui/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB