-
-
Notifications
You must be signed in to change notification settings - Fork 278
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 HEALTHCHECK instruction to Dockerfile #206
base: master
Are you sure you want to change the base?
Conversation
@maesbrisa |
I'm not sure I understand you. Yes, if the command HEALTHCHECK is used in previous images builds, the NONE value will overwrite any existent healthcheck, but I saw nothing related in previous Dockerfiles. Anyway, if the NONE is the problem and if we consider my example that covers the use cases, we can substitute
for:
|
@maesbrisa There is no HEALTHCHECK currently used in this image or the based one, therefore it's not necessary to add this.
AFAIK there is no issue with the liveliness between the container and redis. librenms/librenms#12707 as well as #149 is smth that needs to be impl upstream on main repo. Not here. |
Agree 100% about treating bugs related liveliness in the main repo, but the PR was about improving the monitoring during the containers execution, similar to this example: https://github.com/crazy-max/docker-msmtpd/blob/master/Dockerfile |
Yes but for librenms image it should rely on an internal probe which must be implemented on main repo and not directly on an external service. For example this suggestion could be added on librenms repo. Do we have smth like that @murrant? |
From this issue related to dispatcher and redis dependency.
Using this feature, we can use it in docker-compose.yml as follows: