mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Feature request: enable HealthServer outside of Docker #444
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @pwall2222 on GitHub (Sep 26, 2024).
What's the feature?
Be able to enable HealthServer, even if not running under docker.
For use for something like UptimeKuma.
Extra information?
I figured that the HealthServer runs only in docker, but I couldn't find it in the docs so I dig down to:
f4e1cca222/cmd/updater/main.go (L347-L352)@qdm12 commented on GitHub (Oct 1, 2024):
In the latest program (build it until the next release), you can now set
--health-server-address=127.0.0.1:9999for example, to enable the health server to run. By default that health server address defaults to the empty string, meaning the server is disabled, and with the Docker image it defaults to 127.0.0.1:9999 using the docker image environment variable:e10d778e5f/Dockerfile (L106)So with all this we have: