CODESEEDSign in
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

  1. 01

    Docker API client

    Connect to Docker socket via dockerode, list containers from project.

  2. 02

    Terminal Dashboard

    blessed-contrib: grid with container statuses, CPU/RAM graph, log stream.

  3. 03

    Health polling

    5s interval for status update; detect stopped/unhealthy containers.

  4. 04

    Log streaming

    docker logs --follow for the selected container, displayed in panel.

  5. 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