redlib
redlib copied to clipboard
🐛 Bug Report: Docker health check fails when PORT env is not 8080
Describe the bug
The health check fails if the PORT env value is set to a value other than 8080. This is when using the docker image.
Steps to reproduce the bug
- Set PORT to a value to something other than 8080 (PORT=7070)
- Also set the container port under the ports section of docker to the same value (80:7070)
- Start container and healthcheck will fail.
- Also notice that if the experiment is repeated with the PORT value of 8080 instead, the health check passes.
What's the expected behavior?
The env value for PORT should be accounted for when performing the health check.