Comment on How do you healthcheck your containers?
tuckerm@feddit.online 2 weeks agoSame 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.