mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 18:37:15 +00:00 
			
		
		
		
	they need to be made available through reverse proxy and port forwarding anyways changed in https://jira.kopano.io/browse/KC-1616 Signed-off-by: Felix Bartels <felix@host-consultants.de>
		
			
				
	
	
		
			22 lines
		
	
	
		
			583 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			583 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': "0.0.0.0:236",
 | |
|         'server_listen_tls': "0.0.0.0:237",
 | |
|         'sync_gab_realtime': "no",
 | |
|         'softdelete_lifetime': "0",
 | |
|         'kcoidc_initialize_timeout': "360"
 | |
|     }
 | |
| })
 | |
| 
 | |
| # Override configs from environment variables
 | |
| kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
 |