Docker Compose Patterns I Actually Use
My homelab runs about a dozen services, all of them plain Docker Compose files in a git repository. No orchestrator, no cluster - just one small machine and a folder structure I can still understand at midnight. These are the patterns that have survived three years of use; everything fancier got deleted. One directory per service, one network per stack Each service gets its own directory with its own compose.yaml, .env, and a short README saying what it does and how to restore it. Services that need to talk to each other share an explicitly named network; nothing joins a default network by accident. ...