Setting Up Ollama for Local Homelab AI Inference

Welcome to By Design Won't Fix, a daily hands-on build guide where we pick one piece of self-hosted infrastructure or homelab tooling, stand it up from scratch, and wire it into a working system. To kick off the series, we are setting up Ollama in Docker on a local Linux GPU server, with a practical twist I learned the hard way: running two isolated container instances side by side so scheduled background agents do not constantly evict the model you are actively using in your IDE. When you run a single Ollama container on port 11434 and point your coding assistant, your home automation scripts, and your cron jobs at the same endpoint, the first background job that requests a different model weight will unload your active coding model from VRAM. Splitting your deployment into a primary ollama-hub container on port 11434 and a secondary ollama-worker container on port 11435 gives you clean workload isolation while keeping everything reproducible in a single Compose file. Step...