On Jan 29, Jan Kowalsky wrote:
already the next question. While playing around with an own
ansible role, I realized the debops.owncloud role does manage an
nextcloud instance already for a while.
As long as I understand it just configure one owncloud/nextcloud
instance for one server.
Do you think it's possible to extend the role for multiple nextcloud
instances with different databases and webroot (maybe php-pools) and if
yes: could you point me to an good starting point how to achieve that?
Maybe it's better to add a new role like owncloud-instances which refer
I don't think that reworking current 'debops.owncloud' role to support
multiple instances is workable. It currently supports both ownCloud and
Nextcloud, one with .deb packages, the second with tarballs, extending this to
multiple instances would probably make things unreadable.
I would try and create a new 'debops.nextcloud' role and try to support
multiple instances of Nextcloud from scratch. If it's too difficult, there's
also an option of creating an LXC container for each instance and putting
a nginx proxy in front of all of them. It can be later extended to separate
hosts for each instance if need be.