Comment on How do you healthcheck your containers?

<- View Parent
tuckerm@feddit.online ⁨2⁩ ⁨weeks⁩ ago

Same here. I’m the only user of my services, so if I try visiting the website and it’s down, that’s how I know it’s down.

I prefer phrasing it differently, though. “With my current uptime monitoring strategy, all endpoints serve as an on-demand healthcheck endpoint.”

One legitimate thing I do, though, is have a systemd service that starts each docker compose file. If a container crashes, systemd will notice (I think it keeps an eye on the PIDs automatically) and restart them.

source
Sort:hotnewtop