Several services with Compose
Lesson 7 of 20 · Ops.Micro
One file describes the web app, the database and how they connect; one command starts it all.
compose.yaml lists services (web and db), their images, ports, variables and volumes. It replaces long docker run commands and lives in Git with the code.
Check yourself
What starts all services in compose.yaml?
Do it in the browser: a real DevOps tool, a short mission and instant feedback. No install.
Start this lesson — free