Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
epic0421 opened this issue May 9, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@epic0421
Copy link

epic0421 commented May 9, 2025

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 epic0421 added the bug Something isn't working label May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant