Description
Description
The built-in healthcheck binary /bin/hp_healthcheck in the v0.6.2 image
returns a 500 status code, causing the container to be marked as unhealthy
by Docker. This prevents Traefik (and likely other reverse proxies) from
routing traffic to the container as they skip unhealthy containers by default.
Steps to Reproduce
- Run headplane v0.6.2 using the standard Docker image
- Wait for the healthcheck to run (30s interval, 5s start period)
- Container is marked as unhealthy despite the app running correctly on port 3000
Investigation
- The app starts and runs correctly on port 3000
/admin/ returns HTTP 302 (working correctly)
- The healthcheck binary exits with code 500
- The image contains no shell, curl, or wget making it impossible to
override with CMD-SHELL
- Overriding with
healthcheck: disable: true in docker-compose resolves the issue
Expected Behaviour
/bin/hp_healthcheck should return 0 when the app is running correctly.
Environment
- Headplane version: 0.6.2
- Docker version: 29.4.0, build 9d7ad9f
- Host OS: Linux Mint 22.1
Headplane Version
v0.6.2
Headscale Version
v0.28.0
Description
Description
The built-in healthcheck binary
/bin/hp_healthcheckin the v0.6.2 imagereturns a 500 status code, causing the container to be marked as unhealthy
by Docker. This prevents Traefik (and likely other reverse proxies) from
routing traffic to the container as they skip unhealthy containers by default.
Steps to Reproduce
Investigation
/admin/returns HTTP 302 (working correctly)override with CMD-SHELL
healthcheck: disable: truein docker-compose resolves the issueExpected Behaviour
/bin/hp_healthcheckshould return 0 when the app is running correctly.Environment
Headplane Version
v0.6.2
Headscale Version
v0.28.0