How My AI Stack Fits Together
A plain-language map of the layers in my AI stack, what each one does, and which project page shows it, with a glossary of the terms those pages use.
Docker Compose and Docker Swarm
Docker Compose and Docker Swarm are how I define and run the container stacks in my homelab.
Docker Compose describes a multi-container application in one file. Docker Swarm runs those definitions across several hosts as stacks.
I define each homelab service as a Compose file and run it as a Swarm stack, deployed through Portainer. I keep database and state directories on shared storage and keep secrets out of the compose files.
A Compose file describes a whole service in one file that can be reviewed in Git, and the same file runs as a Swarm stack across several hosts. Portainer deploys those files directly from the repository. Services that once ran as hand-built virtual machines now each have a Compose file, so they are deployed, updated and rolled back the same way.
When I need Kubernetes features such as autoscaling, operators or fine-grained scheduling, I would write Kubernetes manifests, packaged with Helm. On a single host with no need for failover, plain Compose without Swarm is enough.
A plain-language map of the layers in my AI stack, what each one does, and which project page shows it, with a glossary of the terms those pages use.
How I generate the short looping header videos on this site with ComfyUI on my homelab, and how each clip stays traceable to the prompt and models that made it.
How I run open-weight models on homelab GPUs behind the same kind of API the hosted providers use, so apps can switch between local and cloud models by configuration, and so I understand the hosting problems those providers solve.
A 4-node Proxmox cluster running Kubernetes, Ceph, site-to-site VPNs to AWS, GitOps pipelines, and a full observability stack — built to test every architecture I recommend to clients.