Nexcloud & OnlyOffice - Best Practice?


I like to re-install and move my existing Nexcloud and OnlyCloud Server to new VM’s

Question: what is Best Practice:

Install them within the same VM with docker or should I create two VM’s?
I am asking because I try to optimize performance and because the resources on my hosts are limited

How much RAM and CPUs are recommended?
Now they have each 4GB RAM and 2 and 4 vCPUs they run well.

If I install them on the same VM should 8RAM and 4vCPUs be enough?
I could give more but, is it needed? (The physical Host has 32GB RAM and 1 CPUs, but there are other VMs running on it)

thanks for any advice