You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
current health check will alway give unhealthy as it cannot access the ${PORT} without shell ( also it will no know what is the '||' without a shell)
therefore it will always fail and docker will report unhealthy status
it should use the shell command instead of the exec array.
Hi @amm123, thanks for taking your time to open this issue, if you feel like this could be a beneficial addition to the project, you are welcome to open a PR with your suggestions!
current health check will alway give unhealthy as it cannot access the ${PORT} without shell ( also it will no know what is the '||' without a shell)
therefore it will always fail and docker will report unhealthy status
it should use the shell command instead of the exec array.
CMD [ "curl" , "-f" "localhost:${PORT}", "||", "exit", "1"]
should be
CMD curl -f localhost:${PORT} || exit 1
5a8d52a
The text was updated successfully, but these errors were encountered: