A Docker Compose egy eszköz multi-container alkalmazások definiálásához és futtatásához egyetlen YAML fájl segítségével. Ahelyett, hogy sok docker run parancsot kellene manuálisan futtatni, a docker-compose.yml fájlban leírhatod az összes szolgáltatásodat (alkalmazás, adatbázis, cache) és egy paranccsal indíthatod el őket.
A probléma, amit a Compose megold
A real app often has MULTIPLE containers: a web app + a database + a cache + ...
→ manually running each with docker run (ports, networks, volumes, env, dependencies)
is tedious, error-prone, and hard to reproduce/share
→ Compose defines the WHOLE stack in one file → start it all with one command.
