A migration failed, a monitor is hitting a missing URL on web, and ticker prints a heartbeat. Read their logs.
web was started with -p 8080:80, so curl localhost:8080 reaches nginx from the host. Chapter 3 covers -p.
Read the stopped migration's output:
sh
docker logs migrateSearch both of nginx's streams for the 404:
sh
docker logs web 2>&1 | grep 404Save every line about healthz (the access line and the error line):
sh
docker logs web 2>&1 | grep healthz > ~/healthz.logWatch the heartbeat live, then press Ctrl+C:
sh
docker logs -f tickerSave the last 3 heartbeats with timestamps:
sh
docker logs -t --tail 3 ticker > ~/ticker-tail.txt