Skip to content
Theory · Docker Compose · lesson 1 of 8

compose.yaml

A score where the db part starts at once and the web part comes in later, following the depends_on arrow

An orchestra does not play by spoken agreements. In front of every musician lies the score: who plays, which part and when they come in. The conductor does not have to explain the part to each player again. It is written on one sheet, and a new musician reads it the same way as the rest.

In this lesson

  • The compose.yaml file
  • Starting it: docker compose up
  • What docker compose ps shows
  • Common mistake
  • Key points