Syed Masood ShahLike a lot of people, I got tired of two things: paying monthly for AI tools, and not knowing where...
Like a lot of people, I got tired of two things: paying monthly for AI tools, and not knowing where my data ends up. So I built a small, self-hosted "AI home lab" that runs entirely on my own machine — and packaged it so anyone can deploy it in about 5 minutes.
Here's what's in it and how it fits together.
Three independent Docker Compose stacks, each solving one problem:
A ChatGPT-style web interface that runs 100% offline. Ollama is the model engine; Open WebUI is the chat frontend. You pull a model (llama3.2, mistral, qwen2.5…) and chat privately — nothing leaves your box.
services:
ollama:
image: ollama/ollama:latest
volumes:
- ollama-data:/root/.ollama
open-webui:
image: ghcr.io/open-webui/open-webui:main
ports:
- "3000:8080"
environment:
- OLLAMA_BASE_URL=http://ollama:11434
The two services talk over an internal Docker network — only the web UI is exposed.
Zero-config, per-second dashboards for CPU, RAM, disk, network, and every container. You literally just start it and open the dashboard.
Scheduled, encrypted, deduplicated backups of your Docker volumes. Set a password and a cron schedule and forget it.
deploy.resources limits, a big model can starve the host. Every service got both limits and reservations.I cleaned this up, documented every stack with step-by-step guides + troubleshooting, and put it up as a downloadable pack for anyone who'd rather not assemble it from scratch:
👉 https://symshah.gumroad.com/l/selfhosted-ai-homelab
Happy to answer questions about the setup in the comments — always keen to hear how others structure their homelab AI.