Automatically updates Hetzner Cloud Floating IP server assignments in a Docker Swarm.
This project was inspired by the blog post "Implementation of a Cloud HA infrastructure with Keepalived" written by Markus (@BackInBash)
and some parts of the code were taken from hcloud-ip.
hiper relies on the automatic container rescheduling performed by Docker Swarm. Whenever a host goes down and this container happens to run on it,
it will be started on another node, and hiper will then update the floating IP assigment.
I got the idea from this serverfault answer, but instead of DynDNS, I rely on floating IPs.
Note: The image is built using the very minimal
scratchbase image, so it only contains a single binary.
docker run -t --name hiper ghcr.io/zackplan/hiperAn example using docker compose can be found here.