Docker Compose and autoheal combo
You’ve got healthchecks setup (because you read those previous posts, right?), your containers are dutifully reporting their health status, and all is good. Until 2 AM when that flaky service decides to hang, your healthcheck correctly marks it as unhealthy, and… nothing happens. The container just sits there, unhealthy and useless, waiting for you to manually restart it. That’s where autoheal comes in — the unsung hero that actually does something when your containers get unhealthy. ...