Linux Labs

Containers: Docker and compose / Stage 8 of 11

docker compose: a stack in one file

Not running Starting usually ~20 s
Leave the lesson

Step 6 of 7 · on a machine · 4 min

Experiment: the notes stack

The colleague's second stack is the notes site in ~/notes: proxy on port 8081 and the application api with a health check. The stack is up, api is healthy, yet the site answers 502. Find the leg where the request breaks off and fix the stack so that api stays healthy.

Exercise · do it

Fix the notes stack

The notes stack in ~/notes is up, yet http://localhost:8081/ answers 502. Make the site answer with api's page while sudo docker compose ps shows api as healthy.

Sign in and start The machine is available after signing in

Goals · 0 of 2

  • Get the site's requests through to api not done yet
  • Keep api healthy not done yet

Step goals

0 of 2
  • Get the site's requests through to api — not done yet
  • Keep api healthy — not done yet
Ubuntu 24.04

Step goals

0 of 2
  • Get the site's requests through to api — not done yet
  • Keep api healthy — not done yet
Loading…