Best approach for hosting more than one kopano company on one host
-
Hello everyone,
I could not find any other related forum threads - altough I have to admit that I cannot think of any good search words.
I have the request/scenario to host groupware (mail, meet, owncloud) for several workgroups. Ideally, it should run under one domain with different subdomains and be completely separated in terms of content: 1 docker host, 1 domain and different subdomains for the respective groups.
Thanks to the well-documented docker environment, i was able to quickly host a kopano test. However, i now have to ask myself what would be the best approach or what is possible at all:
- Deploy multiple docker stacks with their own mailserver, ldap and kopano = can this work properly in regards of DNS since only one domain is used? Using traefik as reverse proxy I should get the accesses routed correctly, but a correct certification of the mails worries me.
- Using just one ldap and one mailserver for the host and deploy several docker stacks with kopano = from the ldap point of view i think i can handle it well but the mailserver for example has to assign the kopano mailstore (POSTFIX_DAGENT=lmtp:kopano_dagent:2003). Since I have several kopanos behind one mailserver, how can this structure be realized for different kopanos?
- Set up only one kopano docker environment and work with permissions in ldap/kopano? Here I lack the experience how far kopano can delimit content and users.
Could someone already gain experience for these requirements and steer me in the right direction?
Best regards
Andre -
Hi @asr-systify,
in the end this pretty much depends on personal choice, I would say.
From a perspective of optimal utilisation I would deploy I central ldap, database server and mta. Then you have a “single” point where you can tune/backup/maintain these components. Routing to different kopano-dagents is nothing that works out of the box with the container that is part of the example setup, but is something trivial to achieve with transport maps in Postfix.
@asr-systify said in Best approach for hosting more than one kopano company on one host:
Set up only one kopano docker environment and work with permissions in ldap/kopano? Here I lack the experience how far kopano can delimit content and users.
Kopano has native multi tenancy functionality for this. How to test multi-tenancy is explained at https://github.com/Kopano-dev/kopano-docker/tree/master/ldap_demo in the docker example.
-
Hi Felix,
thank you for your response and pointing me to the correct directions. I will have a closer look at both topics.
Best regards,
Andre -
You can configure multi tenant mode of the Kopano server by following these steps.
KCCONF_SERVER_ENABLE_HOSTED_KOPANO=YES
KCCONF_LDAP_LDAP_COMPANY_TYPE_ATTRIBUTE_VALUE=kopano-companyAlso, I am using Cloudways managed hosting and I have done this process through their platform which is much easier.