Open WebUI¶
Open WebUI is a user-friendly, feature-rich web interface for interacting with Large Language Models (LLMs). It integrates seamlessly with Ollama, providing a ChatGPT-like user experience.
Deployment¶
To deploy Open WebUI locally, navigate to its directory and run:
Access the web interface at http://localhost:3000.
Connection to Remote Ollama Server¶
This setup connects Open WebUI to a remote Ollama server.
Hardware Specifications (Example Host)¶
- GPU: NVIDIA GPU (e.g. Blackwell GB10 family)
- NVIDIA Driver: 580.126.09+
- CUDA Version: 13.0+
- Running Engines: Ollama (for model serving) and vLLM Engine Core.
Direct Connection¶
If the server's port 11434 is publicly accessible:
- Edit .env to set:
SSH Tunnel Connection (Recommended)¶
If port 11434 is private, you can automate this using the provided make commands:
-
Create the environment file:
This copies the template and setsOLLAMA_BASE_URLtohttp://host.docker.internal:11434. -
Configure your secrets: Edit
06-ai/open-webui/.env(which is git-ignored and safe) and add your server details: -
Open the SSH tunnel:
(Enter your SSH password when prompted)
Alternatively, to do this manually:
And set the following in your.env file:
Troubleshooting¶
Port 11434 Address Already in Use¶
If the SSH tunnel fails to open because port 11434 is bound by a local Ollama process or a legacy SSH process, you can free the port.
Using Make target¶
Manually¶
Find the active PID and terminate it: