Collabora to serve 2 nextcloud instances

Hi,
I want to deploy a ONE Collabora CODE on a new VPS but it is to serve TWO nextcloud servers
Is this possible, can someone assist me or direct me

Thank you

I really dont know if it that can be done!

You could use docker, and run 2 containers, one for each NC instance, then use nginx to proxy them. Each one on their own sub.domain.tld and running for the specified nc-instance.

Yeah, you can do it.

docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=cloud1\\.domain\\.com|cloud2\\.domain\\.com|cloud3\\.domain\\.com|cloud4\\.domain\\.com|cloud4\\.domain\\.com" -e "username=admin" -e "password=very-secr3t" --restart always --cap-add MKNOD collabora/code

Try something like this.

But be aware that CODE has a limitation of 10 open documents, 20 connections.
So you might donโ€™t wanna exceed that limit or cloud host to connect to.

I am doing this, and it works, however, as shown in my own recent post, I am having issues when one User is connected to Nextcloud Instance 1 and one user is connected to Instance 2. They are unable to collaborate on the same document unless they are both connected to the same instance. Maybe youโ€™ll be able to figure it out? :joy: