1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-21 21:33:02 +00:00

Refactor directory base to core

This commit is contained in:
Andre Zoledziowski
2018-06-25 11:05:45 +02:00
parent bfbb4cbe40
commit 9d81ea0045
11 changed files with 0 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import os
import kcconf
# Component specific configurations
kcconf.configkopano({
r"/etc/kopano/server.cfg":
{
'log_file': "-",
'log_level': "3",
'attachment_path': "/kopano/data/attachments/",
'user_plugin': "ldap",
'server_listen': "",
'server_listen_tls': "*:237"
},
r"/etc/kopano/ldap.cfg":
{
'kccomment': ["!include /usr/share/kopano/ldap.openldap.cfg"],
'kcuncomment': ["!include /usr/share/kopano/ldap.active-directory.cfg"]
}
})
# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))