Docker Compose huwa għodda għal-definizzjoni u t-tħaddim ta' applikazzjonijiet b'ħafna kontejners bl-użu ta' fajl YAML wieħed. Minflok ma tqarri ħafna kmandi docker run b'mod manuali, inti tiddeskrivi l-servizzi kollha tiegħek (app, database, cache) f' docker-compose.yml u tħabbithom flimkien b'kmand wieħed.
Il-problema li Compose tissolvi
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.
