Feature request: enable HealthServer outside of Docker #444

Closed
opened 2025-11-20 04:24:08 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @pwall2222 on GitHub (Sep 26, 2024).

  1. What's the feature?
    Be able to enable HealthServer, even if not running under docker.
    For use for something like UptimeKuma.

  2. 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)

Originally created by @pwall2222 on GitHub (Sep 26, 2024). 1. What's the feature? Be able to enable HealthServer, even if not running under docker. For use for something like UptimeKuma. 2. 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: https://github.com/qdm12/ddns-updater/blob/f4e1cca22286d603a5c99b5370ae2736b8c038e4/cmd/updater/main.go#L347-L352
Author
Owner

@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:9999 for 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:

  • standalone binary: no health server by default, but it can be enabled
  • docker image: health server on by default, and it can be disabled for whatever obscure reason 😄
@qdm12 commented on GitHub (Oct 1, 2024): In the latest program ([build it](https://github.com/qdm12/ddns-updater?tab=readme-ov-file#binary-programs) until the next release), you can now set `--health-server-address=127.0.0.1:9999` for 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: https://github.com/qdm12/ddns-updater/blob/e10d778e5fee2c488b55e8e88191dfceeef0309e/Dockerfile#L106 So with all this we have: - standalone binary: no health server by default, but it can be enabled - docker image: health server on by default, and it can be disabled for whatever obscure reason 😄
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#444