--- title: "Docker Container Strategy" section: "infra" tags: "infra" parent: "/infra/" description: "How self-hosted services are organized across three Docker hosts on Proxmox and Synology, using Docker Compose as the single source of truth." layout: base.njk ---

Docker Container Strategy

My homelab runs almost entirely on Docker, spread across three dedicated Debian VMs instead of installing containers directly on bare metal or on the NAS operating system itself. Each VM is a clean, disposable Docker host that can be snapshotted and backed up as a whole through Proxmox, and every service is defined declaratively as a Docker Compose file living under /docker-data/compose/<service>/. This keeps the setup portable, reproducible, and easy to document. If a host dies, restoring a VM snapshot brings every container definition back with it.

The three Docker hosts

Standardized layout

Own GitHub projects

Infrastructure containers

Smart home containers

Application containers

Development tools