1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 16:06:14 +00:00
Felix Bartels 12eb0daddc move server name to docker-compose
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2018-11-06 07:53:04 +01:00

19 lines
456 B
Python

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': "*:236",
'server_listen_tls': "*:237"
}
})
# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))