The YAML file Docker Compose reads to learn which services to run, how they connect, and where their data lives. You write it once, and it replaces a long string of manual docker commands.