Ollama + Open WebUI
One model server and one chat UI, both on your machine. Ollama runs the models; Open WebUI is the browser chat on top of it.
Run it
Save the compose file
curl -fsSL https://archestack.com/stacks/ollama-open-webui/compose.yaml -o compose.yamlWrite a .env with fresh values for WEBUI_SECRET_KEY
printf 'WEBUI_SECRET_KEY=%s\n' "$(openssl rand -hex 32)" > .envStart it
docker compose up -dOpen
http://127.0.0.1:3000: Open WebUI. First:docker compose exec ollama ollama pull llama3.2.
Needs Docker Compose v2 (started here with v5.6). Every port is bound to 127.0.0.1, so nothing is reachable from your network until you put a reverse proxy in front on purpose. For a GPU, add the GPU reservation to the ollama service. The file itself.
What each part does
- Ollama: runs the models. MIT, score 92 on Best of Open-Source AI.
- Open WebUI: the chat UI in the browser. custom license, score 89 on Best of Open-Source AI.
Why these together: Open WebUI's own docs show Ollama beside it in the quick start. Source ↗ (opens in a new tab)
Pinned images
ollama/ollama:0.40.16ghcr.io/open-webui/open-webui:v0.13.4
A weekly job checks that each tag still exists and flags a pin two or more major versions behind its project’s latest release. A newer release is not tested here: change a tag on purpose, not by latest.
What we checked
Started on ubuntu-lan (x86-64, CPU only, Docker 29.9.2, Compose v5.6.1) on from this exact file, with fresh volumes. Every container came up healthy and each check below passed. The box already runs its own services on ports 3000 and 4000, so the run shifted the host ports by 10000; nothing else differed. No model was pulled, so no chat or document upload was tried.
- Open WebUI answers on 3000
- Open WebUI reaches Ollama
Get it set up (opens in a new tab)Opens Archestack Studio with Ollama named. Our own paid service; it never changes a rank.