Ubiquiti Unifi Controller: how to install on Hass.io image?

I have created a Hass.io add-on running the UniFi controller. If I can find the time I will setup a repository so you can test it.