OpenAIWebUI

OpenAIWebUI

Docker 应用程序 from ITI's Repository

概述

OpenAI API-compatible WebUI.
Requires valid API keys for the providers enabled (see list in the selection).
Supports OLLAMA_HOST for self-hosted models. Model capabilities depend on the model, but a default for each will be used.
The list of recognized models for each provider is available in https://github.com/Infotrend-Inc/OpenAI_WebUI/blob/main/models.md

Please review https://github.com/Infotrend-Inc/OpenAI_WebUI/blob/main/README.md for a few sections in particular:

  • the .env supported environment variables that are defined in this template
  • the Unraid specific setup section that introduces features not enabled by default, including the ability to password protect the WebUI.
  • an environment variable ready version of the models list is available at https://github.com/Infotrend-Inc/OpenAI_WebUI/blob/main/models.txt and can be used for the OAIWUI_GPT_MODELS and OAIWUI_IMAGE_MODELS parameters

Extra parameters are available under the advanced settings.

  • the default savedir is /iti/savedir. /iti is mounted from within the appdata folder.
  • the default user id is 99 and group id is 100. This can be changed modiying the WANTED_UID and WANTED_GID parameters.
  • When using the "prompt presets" feature, the directory must exist (recommended location: /iti/prompt_presets).
  • When using the "prompt presets settings" feature, the JSON file must exist (recommended location: /iti/prompt_presets.json).

运行时参数

网络用户界面
http://[IP]:[PORT:8501]
网络
bridge
外壳
bash
特权
false

模板配置

OPENAI_API_KEYVariable

Your OpenAI API key

PERPLEXITY_API_KEYVariable

Your Perplexity API key

GEMINI_API_KEYVariable

Your Google Gemini API key

OLLAMA_HOSTVariable

Your Ollama host

LITELLM_URLVariable

Your LiteLLM URL

LITELLM_API_KEYVariable

Your LiteLLM API key

WebUIPorttcp
目标
8501
默认值
8501
价值
8501
Run directoryPathrw

Mount directory for application files. /iti/savedir matches value used for OAIWUI_SAVEDIR

目标
/iti/savedir
默认值
/mnt/user/appdata/openai_webui
价值
/mnt/user/appdata/openai_webui/savedir
OAIWUI_SAVEDIRVariable

Required: location where generated files are placed

默认值
/iti/savedir
价值
/iti/savedir
WANTED_UIDVariable

User id to run the container as

默认值
99
价值
99
WANTED_GIDVariable

Group id to run the container as

默认值
100
价值
100
OAIWUI_GPT_ONLYVariable

If True, only show the GPT UI If False, show both the GPT and the Image generation UI

默认值
False
价值
False
OAIWUI_GPT_MODELSVariable

Required: space separated list of GPT models authorized for the provided API Keys

默认值
chatgpt-4o-latest gemini-2.0-flash sonar
价值
chatgpt-4o-latest gemini-2.0-flash sonar
OAIWUI_IMAGE_MODELSVariable

Required: space separated list of Image models authorized for the provided API Keys

默认值
dall-e-3 gpt-image-1
价值
dall-e-3 gpt-image-1
OAIWUI_GPT_VISIONVariable

For compatible models, disable their vision capabilities

默认值
True
价值
True
OAIWUI_IGNORE_EMPTYVariable

Required for Unraid: avoid errors in case some (not all) environment variables are not set

价值
True
OAIWUI_USERNAMEVariable

Default username (leave blank to be prompted)

OAIWUI_PROMPT_PRESETS_DIRVariable

Directory that contains prompt presets (see GitHub for examples). If a directory is provided, it must contains at least one valid json file

OAIWUI_PROMPT_PRESETS_ONLYVariable

Json file that contains valid settings to use for the OAIWUI_PROMPT_PRESETS_DIR presets

下载统计数据

3,215
下载总数

详细信息

存储库
infotrend/openai_webui:latest
最后更新2025-08-08
初见2025-05-13

在Unraid 上运行 OpenAIWebUI 。

OpenAIWebUI 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。