mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-11 08:57:17 +00:00
docs(readme): show OPENAI_API_BASE_URL for compatible gateways
Document OPENAI_API_BASE_URL for OpenAI-compatible endpoints on the OpenAI-only install path, with DaoXE as one concrete example. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
52145eede9
commit
c6b7aaadf6
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
|
@ -170,6 +170,25 @@ This will start the Open WebUI server, which you can access at [http://localhost
|
|||
docker run -d -p 3000:8080 -e OPENAI_API_KEY=your_secret_key -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
|
||||
```
|
||||
|
||||
- **OpenAI-compatible gateways / custom base URL**: set `OPENAI_API_BASE_URL` (and the matching key) to any server that speaks the OpenAI HTTP API. Examples:
|
||||
|
||||
```bash
|
||||
# Official OpenAI (default when OPENAI_API_BASE_URL is unset)
|
||||
docker run -d -p 3000:8080 \
|
||||
-e OPENAI_API_KEY=sk-... \
|
||||
-v open-webui:/app/backend/data --name open-webui --restart always \
|
||||
ghcr.io/open-webui/open-webui:main
|
||||
|
||||
# OpenAI-compatible multi-model gateway (e.g. DaoXE)
|
||||
docker run -d -p 3000:8080 \
|
||||
-e OPENAI_API_BASE_URL=https://api.daoxe.com/v1 \
|
||||
-e OPENAI_API_KEY=sk-... \
|
||||
-v open-webui:/app/backend/data --name open-webui --restart always \
|
||||
ghcr.io/open-webui/open-webui:main
|
||||
```
|
||||
|
||||
You can also configure base URLs in **Admin → Settings → Connections** after startup. Use a model ID that the target endpoint actually serves (`/v1/models`).
|
||||
|
||||
### Installing Open WebUI with Bundled Ollama Support
|
||||
|
||||
This installation method uses a single container image that bundles Open WebUI with Ollama, allowing for a streamlined setup via a single command. Choose the appropriate command based on your hardware setup:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue