Make the published health port configurable #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/configurable-health-port"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Deploying on a NAS failed with:
Nothing wrong with the tool — something else on that host already listens on
8080. It is a popular port, so this is the most likely first stumble for anyone
following the README, and it deserves an answer in the file rather than in a
chat.
The compose file now publishes
${HEALTH_PORT:-8080}:8080. Only the host sidemoves; the container keeps listening on 8080, so
HEALTH_ADDRand thehealthcheck are untouched.
HEALTH_PORTis documented in.env.example, andthe README names the error and the two ways out — set the variable, or drop the
portssection entirely, since the healthcheck runs inside the container andneeds no published port.
Interpolation verified with podman-compose 1.5.0: the default applies without
an
.env, andHEALTH_PORT=18080in.envcomes through.