Ollama and Open WebUI: seven-container Docker setup

Learn how seven Docker containers connect chat, document retrieval, web search and script execution on a server with three RTX 3090 GPUs.

Player not loading? Watch on YouTube

Rich walks through the self-hosted software stack on his three-RTX-3090 server, then explains its Docker Compose configuration. Ollama runs the models, while Open WebUI provides the chat interface and coordinates supporting tools. He favors Ollama for switching between models and describes vLLM as faster, particularly on Nvidia GPUs. These are his reasons for choosing the stack, rather than benchmark results.

The walkthrough explains how a local LLM uses external tools through three scenarios: finding current Proxmox release information, answering questions about an uploaded PDF, and writing and executing a Python service-check script. For document retrieval, Apache Tika extracts content, Open WebUI prepares embeddings, and Qdrant stores the vectors. The example combines semantic and keyword search, then uses Infinity to reduce 20 candidate chunks to five before passing them to the model. SearXNG handles internet searches, so that workflow requires network access.

The configuration section covers persistent storage, GPU access and matching Open Terminal API keys. Rich's settings target Nvidia hardware. His Ollama endpoint is exposed to the LAN without authentication; he explains that viewers can remove its port block. Open Terminal executes scripts inside containers to limit their access to the host. Rich says prompts stay away from cloud models, while web searches still contact external search services.