docker healtheck not working when NGINX port has been changed

Issue #802 resolved
Emil Bostijancic created an issue

steps:

  • start docker container with env variable HTTP_PORT=8080

expected result:

  • container is healthy and started

actual:

  • container stays in starting state and does not migrate to healthy state

the reason is that the healthcheck script called nginx.sh does not use the env variable HTTP_PORT in the check. It always checks for http port 80

Comments (1)

  1. Log in to comment