mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 02:17:47 +00:00 
			
		
		
		
	Reson: some non-default configuration options are backed into the startup scripts. This can be unexpected when mounting files e.g. in a Kubernetes setup. https://github.com/zokradonh/kopano-docker/issues/294 * core configuration * fix compose for meet * remove interpreter from start script * use default oidc timeout
		
			
				
	
	
		
			15 lines
		
	
	
		
			369 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			369 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env python3
 | |
| import kcconf
 | |
| 
 | |
| # Component specific configurations
 | |
| kcconf.configkopano({
 | |
|     r"/tmp/kopano/search.cfg":
 | |
|     {
 | |
|         # Certain configuration can be pre-defined at startup:
 | |
|         #'index_path': "/kopano/data/search/"
 | |
|     }
 | |
| })
 | |
| 
 | |
| # Override configs from environment variables
 | |
| kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
 |