Signal9Signal9 — home
online
back to labs

Docker Compose: Find the Backend Service

MediumDevOps10-15 min
The brief

A web frontend can't reach its backend. In Compose, services talk to each other by SERVICE NAME (Docker's internal DNS). /root/project/task.txt names the frontend service (it differs per session). Examine /root/project/docker-compose.yml, find the service THAT frontend depends on, and record its service name to /root/answers/backend.txt. Other services depend on other things — read the right block.

What you'll do
  • Record the service the frontend depends on to /root/answers/backend.txt

Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.