Skip to content

Adds same HEALTHCHECK from official PMS Container (linked) #217

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

Closed
wants to merge 1 commit into from

Conversation

justinglock40
Copy link

Adds HEALTHCHECK logic from Plex Official Docker: https://github.com/plexinc/pms-docker/blob/master/root/healthcheck.sh

linuxserver.io


We welcome all PR’s though this doesn’t guarantee it will be accepted.

Description:

Just adds a simple health check.

Benefits of this PR and context:

Adds the ability for users to run autoheal for monitoring and restarting the container automatically: https://github.com/willfarrell/docker-autoheal

How Has This Been Tested?

Forked you project and added the command to dockerfile myself and ensured it returned a healthy value. and it's been in use my the official Plex docker image for quite a while.

Source / References:

@thelamer
Copy link
Member

thelamer commented Jan 1, 2020

Thanks for the PR and putting in the effort, but I refer to the maintainer of the official Docker images:
docker-library/cassandra#76 (comment)

In general until Docker as an organization sets healthchecks in their own official images at a Dockerfile level we will not be adopting the concept either.

As stated in that comment the health checks can be added in your own compose file if you want to use them:
https://docs.docker.com/compose/compose-file/#healthcheck

@thelamer thelamer closed this Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants