oznu / docker-cloudflare-ddns

A small amd64/ARM/ARM64 Docker image that allows you to use CloudFlare as a DDNS / DynDNS Provider.
https://hub.docker.com/r/oznu/cloudflare-ddns/
GNU General Public License v3.0
1.07k stars 213 forks source link

Suggestion - Implement a healthcheck ping #89

Open stevekaten opened 2 years ago

stevekaten commented 2 years ago

Would be very helpful to know if something fails. Using https://healthchecks.io/ makes this really easy. They even have a self-hosted option available.

My request is that there is a new environment variable to pass in the healthchecks.io url and then add validation to curl/wget the url if everything is working as expected after the cron runs.

Big fan of the project, thanks for your consideration.

stevekaten commented 2 years ago

Hoping to be more helpful than just asking for something, here are some other implementations I've seen

https://github.com/pfidr34/docker-rclone/blob/master/sync.sh#L85-L112 https://github.com/ttionya/vaultwarden-backup/blob/master/scripts/includes.sh#L114-L130