As per [Traefik docs](https://doc.traefik.io/traefik/middlewares/overview/#configuration-example) a middleware to be activated needs to be applied to a route. Change the default settings to apply the `retry` middleware on every role with Traefik enabled.
The Healthcheck container is shut down right after performing the check, this makes it harder to troubleshoot configuration issues in the healthcheck endpoint, e.g DNS rebinding error. Printing the container logs helps the troubleshooting.