mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-11 16:32:59 +00:00
New: Every service now uses same image (kopano_base)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import os
|
||||
import kcconf
|
||||
|
||||
# Component specific configurations
|
||||
kcconf.configkopano({
|
||||
r"/etc/kopano/dagent.cfg":
|
||||
{
|
||||
'log_file': "-",
|
||||
'log_level': "4",
|
||||
'tmp_path': "/tmp/dagent/"
|
||||
}
|
||||
})
|
||||
|
||||
# Override configs from environment variables
|
||||
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
|
||||
@@ -0,0 +1,18 @@
|
||||
import os
|
||||
import kcconf
|
||||
|
||||
# Component specific configurations
|
||||
kcconf.configkopano({
|
||||
r"/etc/kopano/gateway.cfg":
|
||||
{
|
||||
'log_file': "-",
|
||||
'log_level': "4",
|
||||
'tmp_path': "/tmp/gateway/",
|
||||
'pop3_enable': "no",
|
||||
'imap_enable': "no",
|
||||
'imaps_enable': "yes"
|
||||
}
|
||||
})
|
||||
|
||||
# Override configs from environment variables
|
||||
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
|
||||
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
import kcconf
|
||||
|
||||
# Component specific configurations
|
||||
kcconf.configkopano({
|
||||
r"/etc/kopano/ical.cfg":
|
||||
{
|
||||
'log_file': "-",
|
||||
'log_level': "4"
|
||||
}
|
||||
})
|
||||
|
||||
# Override configs from environment variables
|
||||
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
|
||||
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
import kcconf
|
||||
|
||||
# Component specific configurations
|
||||
kcconf.configkopano({
|
||||
r"/etc/kopano/monitor.cfg":
|
||||
{
|
||||
'log_file': "-",
|
||||
'log_level': "4"
|
||||
}
|
||||
})
|
||||
|
||||
# Override configs from environment variables
|
||||
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
|
||||
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
import kcconf
|
||||
|
||||
# Component specific configurations
|
||||
kcconf.configkopano({
|
||||
r"/etc/kopano/search.cfg":
|
||||
{
|
||||
'log_file': "-",
|
||||
'log_level': "4"
|
||||
}
|
||||
})
|
||||
|
||||
# Override configs from environment variables
|
||||
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
|
||||
@@ -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/"))
|
||||
@@ -0,0 +1,15 @@
|
||||
import os
|
||||
import kcconf
|
||||
|
||||
# Component specific configurations
|
||||
kcconf.configkopano({
|
||||
r"/etc/kopano/spooler.cfg":
|
||||
{
|
||||
'log_file': "-",
|
||||
'log_level': "4",
|
||||
'tmp_path': "/tmp/spooler/"
|
||||
}
|
||||
})
|
||||
|
||||
# Override configs from environment variables
|
||||
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
|
||||
Reference in New Issue
Block a user