-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
health check #40
Comments
This is a good idea. I already have healtchecks in the helm chart but would make sense to add them to That way you wouldn't need to specify them individually in If fixing, I should probably add a bit more elaborate check. |
bokysan
added a commit
that referenced
this issue
Nov 3, 2020
`HEALTHCHECK` instruction has been added to `Dockerfile`. This should allow `docker-compose` installations to monitor and restart the container if neccessary. Kubernetes deployment healthcheck has been tweaked a bit to better validate that the server is actually running.
The new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeking a health check to verify if postfix is running. The following is something I developed that seems to work.
Might you consider adding the following to your project's sample docker compose file or to your documentation?
d-c.yml
The healthcheck uses netstat, which is installed in the linux image used by this project. Ask netstat to list all listening ports. Use grep to see if something (e.g. postfix) is listening on the smtp port. Grep returns 0 exit code if it finds a match and 1 when there is no match.
The text was updated successfully, but these errors were encountered: