- changed status to resolved
docker healtheck not working when NGINX port has been changed
Issue #802
resolved
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)
-
repo owner - Log in to comment
fix
#802adjust nginx healthcheck port according to env→ <<cset 4c30c11cc840>>