I mentioned earlier that I have happily switched to using Unifi-OS-Server in a Docker container.
There was a gotcha – I run this on a Raspberry Pi4 with a 16GB SD card. The CPU is plenty fast for my ~25 device network, but the Unifi OS Server software (or its container) is much larger. I had to mount an external 128GB SSD on the Pi4 and then point the Docker and containerd to use the SSD instead of the normal /var/lib/docker and /var/lib/containerd to be able to pull the newest version.