Minimal private AI chat: Ollama and Open WebUI
# Minimal private AI chat: Ollama and Open WebUI code: 1dabn54 | type: stack | language: en | licence: MIT | version: v1 description: The simplest stack for a private AI chat: Ollama and Open WebUI with docker-compose, interface on port 3000. page: https://contextetech.com/en/stacks/minimal-private-ai-chat-1dabn54 mcp: connect https://contextetech.com/mcp then call load_resource with code "1dabn54" (or ask "load 1dabn54") json: https://contextetech.com/api/resources/contextetech--minimal-private-ai-chat python: pip install contexte && contexte get 1dabn54 citation (required by the licence): contextetech. (2026). Minimal private AI chat: Ollama and Open WebUI (Version 1) [Stack]. Contexte Tech. https://contextetech.com/en/stacks/minimal-private-ai-chat-1dabn54
The simplest stack for a private AI chat: Ollama and Open WebUI with docker-compose, interface on port 3000.
Access Medium
- Read files or data : No
- Modify or delete files
- Send data over the internet
- Run commands on the machine : No
Services
- Ollama: runs the model
- Open WebUI: chat interface
Ports : 3000 (interface)
1. docker compose up -d 2. docker compose exec ollama ollama pull llama3.1 3. Open http://localhost:3000 and create the admin account.
docker-compose.yml
services:
ollama:
image: ollama/ollama
volumes:
- ollama:/root/.ollama
open-webui:
image: ghcr.io/open-webui/open-webui:main
depends_on: [ollama]
environment:
- OLLAMA_BASE_URL=http://ollama:11434
volumes:
- open-webui:/app/backend/data
ports:
- "3000:8080"
volumes:
ollama:
open-webui:- Identifier
- contextetech--minimal-private-ai-chat
- File
- docker-compose.yml
- Format
- YML
- Size
- 349 bytes
- Encoding
- UTF-8
- Estimated tokens
- ≈ 97
- Commercial use
- Allowed
- Personal data
- None
- Version
- 1.0
- Published on
- October 2, 2026 at 9:54 PM
- Updated on
- October 16, 2026 at 11:19 PM
- Storage
- in database
Statistics
Likes : 0 · Comments : 0
Click a counter to show or hide it, hover the chart for details. One view per visitor per day, bots excluded; counting started on 30 September 2026.
Estimated cost
- Input tokens per call
- ≈ 270
| Model | Per call | Per month |
|---|---|---|
| GPT-6 Luna · OpenAIbest price | €0.00002 | €0.02 |
| DeepSeek Flash · DeepSeek | €0.00007 | €0.07 |
| Mistral Large · Mistral AI | €0.00012 | €0.12 |
| DeepSeek V4 Pro · DeepSeek | €0.00031 | €0.31 |
| GPT-6 Sol · OpenAI | €0.00048 | €0.48 |
| Claude Sonnet 5.5 · Anthropic | €0.00048 | €0.48 |
| Claude Opus 5.5 · Anthropic | €0.00095 | €0.95 |
| Self-hosted open-source model (Ollama, vLLM) | €0 in API fees (server cost only) | |
Input cost only, excluding the model's answer. Providers' public standard prices (Mistral AI, DeepSeek, OpenAI, Anthropic) converted from USD to euros at the ECB rate of October 13, 2026. Estimate: 1 token ≈ 3.6 characters.
Common to all 3 regions
Created by the author, no outside source.
Commercial use allowed · credit the author · changes allowed.
Declared access: modify files, send data online.
Hosted in France (Scaleway, Paris). No transfer outside the EU.
European Union · 5/5
No personal data.
No training data: no summary required.
United States · 5/5
No personal data.
No training data: no documentation to publish.
China · 5/5
No personal data.
No training data; AI-generated content published in China must be labelled (2025).
Indicative summary as of 30/09/2026, not a legal certification. Method and sources →
Content quality
The detailed criteria are for members.
Every criterion, the points removed and a tip to fix each one.
MCP contexte
https://contextetech.com/mcp
load 1dabn54
Add the URL as a connector in your AI apps' settings, then send the request above.
API
import json, urllib.request url = "https://contextetech.com/api/resources/contextetech--minimal-private-ai-chat" fiche = json.load(urllib.request.urlopen(url)) print(fiche["title"] or fiche["name"])
docker-compose.yml
services:
ollama:
image: ollama/ollama
volumes:
- ollama:/root/.ollama
open-webui:
image: ghcr.io/open-webui/open-webui:main
depends_on: [ollama]
environment:
- OLLAMA_BASE_URL=http://ollama:11434
volumes:
- open-webui:/app/backend/data
ports:
- "3000:8080"
volumes:
ollama:
open-webui:
Launch
# enregistrez docker-compose.yml, puis : docker compose up -d docker compose ps
Community
No comments yet. Share your feedback, it will help the next person.