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

Support custom controller UI/API port for HEALTHCHECK #61

Merged
merged 1 commit into from
Oct 13, 2017

Conversation

duaneg
Copy link
Contributor

@duaneg duaneg commented Oct 13, 2017

The HEALTHCHECK command hard-codes the default controller UI/API port.
This fails (shows the container status as unhealthy) if the user has
specified a custom port for it in the system properties file.

Make this work correctly in such cases by parsing the port from the file
if it is present and uncommented. In order to avoid a stupidly
complicated one-liner move the healthcheck command into a separate shell
script.

The HEALTHCHECK command hard-codes the default controller UI/API port.
This fails (shows the container status as unhealthy) if the user has
specified a custom port for it in the system properties file.

Make this work correctly in such cases by parsing the port from the file
if it is present and uncommented. In order to avoid a stupidly
complicated one-liner move the healthcheck command into a separate shell
script.
@jacobalberty jacobalberty merged commit 70ee799 into jacobalberty:master Oct 13, 2017
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.

None yet

2 participants