plugsy / core

A simple, pluggable dashboard and status page
164 stars 4 forks source link

Enhancement: Support containers with health checks #20

Open petersem opened 3 years ago

petersem commented 3 years ago

With healthcheck support, will show status of starting/healthy/unhealthy

Inlustra commented 3 years ago

Specifically talking about the docker connector, it already does this if you've configured your containers correctly in Docker as Plugsy just grabs the docker status using the docker API

Inlustra commented 3 years ago

Now I might have missed a status or two but you should see those in the logs

petersem commented 3 years ago

@Inlustra I use health checks a lot, but everything is just showing as running. probably 60-70% of mine have health checks though. list

Inlustra commented 3 years ago

Ahh that's cool, I realise the difference now, thanks for pointing that out, I'll take a look when I get some time!

petersem commented 3 years ago

@Inlustra btw, i also did a post on Plugsy in my docker group on FB. (550+ users 'Dockerholics'), so you may see a spike in uptake today :) Thanks again for your efforts.

Inlustra commented 3 years ago

6 months later, we're getting an update on this, it is very barebones.

If your container has a health status (As per the Docker API) it will be shown. But that's not reflected in the color of the icon, it should match up automatically due to default docker statuses though.

If you have some time, I'd love some feedback