redlib icon indicating copy to clipboard operation
redlib copied to clipboard

🐛 Bug Report: Docker health check fails when PORT env is not 8080

Open epic0421 opened this issue 8 months ago • 0 comments

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

  1. Set PORT to a value to something other than 8080 (PORT=7070)
  2. Also set the container port under the ports section of docker to the same value (80:7070)
  3. Start container and healthcheck will fail.
  4. 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.

epic0421 avatar May 09 '25 00:05 epic0421