Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Open WebUI

install

# Pip
uv tool install open-webui --python 3.11
# uv tool install hf_transfer
# Docker compose
mkdir open-webui
cd open-webui
vim docker-compose.yml
services:
	open-webui:
		image: ghcr.io/open-webui/open-webui:main
		container_name: open-webui
		ports:
			# Change port
			- "8050:8080"
		environment:
			OLLAMA_BASE_URL: http://<your_host>:11434
		volumes:
			- .data:/app/backend/data
		restart: always

usage

# Pip
open-webui serve
# Docker compose
sudo docker compose up -d

Visit http://<your_host>:<port>, you may need to wait a few minutes for it to complete initialization.

optional

  • Open WebUI → User → Admin Panel → Settings → Documents
    • Embedding Model Engine → Ollama
    • Embedding Model → nomic-embed-text:latest

reference

resource

mark

cache

open-webui_01 open-webui_02