Explore projects
TypeScriptintermediatedevops
Docker Compose Health Monitor
Terminal dashboard that monitors the status of Docker Compose containers, displays live logs, and sends alerts when a container fails.
5 steps
Project steps
- 01
Docker API client
Connect to Docker socket via dockerode, list containers from project.
- 02
Terminal Dashboard
blessed-contrib: grid with container statuses, CPU/RAM graph, log stream.
- 03
Health polling
5s interval for status update; detect stopped/unhealthy containers.
- 04
Log streaming
docker logs --follow for the selected container, displayed in panel.
- 05
Email alerts
nodemailer sends email for each container that enters an unhealthy state.
Recommended resources
Ready to build this?
Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.
5 steps
Tech stack
TypeScriptNode.jsdockerodeblessed-contribnodemailer