Problem Statement
Which Compose file key is used to specify dependencies so one service starts after another?
Explanation
In docker-compose.yml you use `depends_on:` to make one service wait until the other has been started. It does *not* guarantee the dependent service is fully ready — only that it has been started.
Code Solution
SolutionRead Only
services:
web:
depends_on:
- db