Allow multiple AIO instances on the same server #359
-
All in the title : how to achieve this ? |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 8 replies
-
I would like that too |
Beta Was this translation helpful? Give feedback.
-
I second this as well |
Beta Was this translation helpful? Give feedback.
-
but please independent of each other that means that different domains are used for each instance and also stun and turn server etc run over the different domains |
Beta Was this translation helpful? Give feedback.
-
@R7JANV1 Technically the Turn and Stun server would have to be shared amongst the Nextcloud instances if running from the same public IP but I could be wrong |
Beta Was this translation helpful? Give feedback.
-
I actually requested this before see #49 |
Beta Was this translation helpful? Give feedback.
-
Since there seems to be some demand regarding this feature, I'll leave this open. But it is far down the priority list and will probably take a long time to be implemented. Pull requests are welcome! |
Beta Was this translation helpful? Give feedback.
-
Maybe to be merged with #72 ? |
Beta Was this translation helpful? Give feedback.
-
Not really the same issue since two instances on the same server would additionally need different container ids for the different instances apart from other things... |
Beta Was this translation helpful? Give feedback.
-
I am currently facing a use case where I could use this function. @szaimen Will this be included if so when can you expect it? I find this function would simplify many things and has in my opinion many applications. |
Beta Was this translation helpful? Give feedback.
-
After thinking about this a bit more, I doubt that this will ever be implemented as it is just too much work to fix all the places that would need to be adjusted. And it is not only the naming but a lot more that would need to be changed. My recommendation for all of you if you need multiple instances is to run AIO in VMs and use a reverse proxy (e.g. caddy) that routes the traffic correctly to each instance. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I just discovered that multiple instances will be possible by using docker rootless and multiple users. Each instance will be namespaced then so that it is possible to use multiple AIO instances. See #854 where I already pointed out some steps and made a POC. |
Beta Was this translation helpful? Give feedback.
-
See https://github.com/nextcloud/all-in-one/blob/main/multiple-instances.md |
Beta Was this translation helpful? Give feedback.
-
Has anyone tried sharing containers between instances? AFAIK office and talk backends should work out of the box, but what about things like clamav or elasticsearch? |
Beta Was this translation helpful? Give feedback.
See https://github.com/nextcloud/all-in-one/blob/main/multiple-instances.md