1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-10 09:26:14 +00:00
Felix Bartels 789762cb34
WIP: Kopano Konnect und Rest API (#72)
* add a new image for konnect
* add konnect to compose file
* adapt gencerts for konnect certs
* integrate gencerts into start.sh and adapt if to only skip individual parts
* add container for kapi
* use same config for webapp and z-push as https://stash.kopano.io/projects/KGOL/repos/kweb/browse/config/legacy.go
* use example compose file in make test target
* make compose file configurable through an env variable
* remove legacy links in compose
* write certificates first to a tempfile
* remove unnecessary paths
* add option to run kapi insecure for testing
* configure openid for kopano-server
* add local playground to test functionality of konnect and kapi
* print errors and logs to stdout in web
* add extrahosts to kopano_server
* adapt extrahosts for ip command on ubuntu 18.04
* add documentation

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-01-09 21:57:04 +01:00
..
2018-10-12 15:00:34 +02:00

E-Mail attachment directory is by default in /kopano/data/attachments/ so bind /kopano/data as volume.

You can reconfigure by setting environment variable KCCONF_SERVER_ATTACHMENT_PATH.

You can change all server.cfg settings you like prefixed with KCCONF_SERVER_ So specify KCCONF_SERVER_MYSQL_HOST for mysql_host setting in server.cfg. Or specify KCCONF_LDAP_LDAP_SEARCH_BASE to set ldap_search_base in ldap.cfg.

You may override default settings with KCCONF_* options or comment specific options in/out with KCCOMMENT_filenameWithoutExtension_anystring=searchline
e.g. KCCOMMENT_LDAP_1=!include /usr/share/kopano/ldap.openldap.cfg

For coredumps on crashes kopano-server requires the fs.suid_dumpable sysctl to contain the value 2, not 0.

The docker image kopano_ssl will create certificates for all containers. Those certificates are selfsigned and only for internal Kopano component communication.

kopano_webapp port 80 is meant to be published through a https reverse proxy. MAPI connection for Outlook is also handled over port 80.

Maybe you need to execute kopano-cli --list-users once after initial install in the kopano_server container.

See: https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#testing-ldap-configuration

Example:

docker-compose exec kserver kopano-cli --list-users (This may last very long without any console output.)