I just updated my Nextcloud this morning, and was able to get it going with the OnlyOffice Document server and both of them on the same system... Just used the Install guide for OnlyOffice Document server here: https://github.com/ONLYOFFICE/Docker-DocumentServer and some googling for some other errors.

Performance is not bad at all.