I finally got around to setting up Homebridge. I started out trying to make it work as a docker container, but moved on just giving it its own raspberry pi (install instructions). Homebridge needs to be on the same network as the other homekit stuff, and it needs to control mDNS, so giving it its own machine worked out best.
I have set up the Awair plugin (works fine) and would like to set up the Automower plugin.
I have also set up Caddy as a https proxy in front of Homebridge. This gives me SSL etc. I needed to setup tailscale to accept requests from the caddy user.
I also ended up building my own caddy with xcaddy
and installing as per the docs.
Debugging Caddy:
journalctl -xeu caddy.service