Looked into it, the container is distroless so can't make an HTTP request for those health checks.
Which I really hate that docker-compose still doesn't support the k8s feature where an external process (kubelet) performs the health check.
The solution would either require a custom image (IMO, a bad solution, since you want minimal containers for security purposes) or for the binary itself to support something like --healthcheck command, which pings the main process and exits 1 or 0.
Looked into it, the container is distroless so can't make an HTTP request for those health checks.
Which I really hate that docker-compose still doesn't support the k8s feature where an external process (kubelet) performs the health check.
The solution would either require a custom image (IMO, a bad solution, since you want minimal containers for security purposes) or for the binary itself to support something like `--healthcheck` command, which pings the main process and exits 1 or 0.
Damn, yeh, tricky. I would say raise it with the upstream developer, he's generally open to discuss this stuff.
I also just saw this wild approach: https://git.coopcloud.tech/coop-cloud/vikunja#healthcheck
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Looked into it, the container is distroless so can't make an HTTP request for those health checks.
Which I really hate that docker-compose still doesn't support the k8s feature where an external process (kubelet) performs the health check.
The solution would either require a custom image (IMO, a bad solution, since you want minimal containers for security purposes) or for the binary itself to support something like
--healthcheckcommand, which pings the main process and exits 1 or 0.Damn, yeh, tricky. I would say raise it with the upstream developer, he's generally open to discuss this stuff.
I also just saw this wild approach: https://git.coopcloud.tech/coop-cloud/vikunja#healthcheck
As inspiration: https://github.com/mealie-recipes/mealie/blob/mealie-next/mealie/scripts/healthcheck.py