Skip to content
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

Add a healthcheck in the Dockerfile to check the server process #27

Open
bgauduch opened this issue Apr 24, 2020 · 0 comments
Open

Add a healthcheck in the Dockerfile to check the server process #27

bgauduch opened this issue Apr 24, 2020 · 0 comments

Comments

@bgauduch
Copy link
Owner

bgauduch commented Apr 24, 2020

HEALTHCHECK --interval=5s --timeout=3s --retries=7 CMD if [ -z "$(echo -e '\xff\xff\xff\xffgetinfo' | nc -w 1 -u 127.0.0.1 ${CHECK_PORT})" ]; then exit 1; else exit 0; fi

@bgauduch bgauduch changed the title Add a healthcheck in the Dockerfile to the check the server process Add a healthcheck in the Dockerfile to check the server process Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant