mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
* add multi-server attributes to ldif * add example compose file for a multiserver * add readme * add script for database creation within the existing database instance * add generation of admin.pem * add own certificate for kopano_server_2 * add admin.pem to compose (only for multiserver) * add spooler for 2nd node * add link to ldap demo readme
21 lines
1.3 KiB
Markdown
21 lines
1.3 KiB
Markdown
# Kopano LDAP demo image
|
|
|
|
[](https://microbadger.com/images/zokradonh/kopano_ldap_demo "Microbadger size/labels") [](https://microbadger.com/images/zokradonh/kopano_ldap_demo "Microbadger version")
|
|
|
|
Image to for an OpenLDAP server to provide some demo users for Kopano. Based on https://github.com/osixia/docker-openldap.
|
|
|
|
The LDAP tree is prepared for both single tenant setups (the default in Kopano) and multi tenant setups. To configure the multi tenant mode (also referred to as "hosted") of `kopano-server` the following values need to be added to `kopano_server.env`:
|
|
|
|
```bash
|
|
KCCONF_SERVER_ENABLE_HOSTED_KOPANO=YES
|
|
KCCONF_LDAP_LDAP_COMPANY_TYPE_ATTRIBUTE_VALUE=kopano-company
|
|
```
|
|
|
|
Additionally the ldap tree is also prepared for multiserver installations (also referred to as "distributed"), where multiple `kopano-server` processes share the total amount of mailboxes (controlled through a manual mapping in LDAP). See [Multiserver Example](../examples/kopano-multiserver) for more information.
|
|
|
|
```bash
|
|
$ docker-compose -f examples/kopano-multiserver.yml up
|
|
```
|
|
|
|
Demo users created in the demo ldap all have a password that is identical to the username, e.g. the password for `user1` user `user1`.
|