Open WebUI
User-friendly WebUI for LLMs (Formerly Ollama WebUI).
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: "3.9"
services:
ollama:
volumes:
- ./ollama:/root/.ollama
container_name: ollama
pull_policy: always
tty: true
restart: unless-stopped
image: ollama/ollama:${OLLAMA_DOCKER_TAG-latest}
open-webui:
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
container_name: open-webui
volumes:
- ./open-webui:/app/backend/data
depends_on:
- ollama
ports:
- ${OPEN_WEBUI_PORT-3000}:8080
environment:
- 'OLLAMA_BASE_URL=http://ollama:11434'
- 'WEBUI_SECRET_KEY='
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stoppedResources
Website: https://openwebui.com/
Docs: https://docs.openwebui.com/
GitHub: https://github.com/open-webui/open-webui
GitHub Container Registry: https://github.com/open-webui/open-webui/pkgs/container/open-webui
Configuration: https://docs.openwebui.com/getting-started/