mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 07:56:12 +00:00
* 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>
19 lines
522 B
Python
19 lines
522 B
Python
import os
|
|
import kcconf
|
|
|
|
# Component specific configurations
|
|
kcconf.configkopano({
|
|
r"/etc/kopano/kapid.cfg":
|
|
{
|
|
'log_level': "info",
|
|
'listen': "0.0.0.0:8039",
|
|
'DEFAULT_PLUGIN_PUBS_SECRET_KEY_FILE': "/kopano/ssl/kapid-pubs-secret.key",
|
|
'plugin_kvs_db_datasource': "/kopano/data/kapi-kvs/kvs.db",
|
|
'plugin_grapi_socket_path': "/var/run/kopano/grapi"
|
|
|
|
}
|
|
})
|
|
|
|
# Override configs from environment variables
|
|
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
|