mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 18:37:15 +00:00 
			
		
		
		
	* add compose file * add working configuration for ldap account manager depends on https://github.com/LDAPAccountManager/lam/pull/76 Important note: the open source code of lam does not include the Kopano integration. So admins can generally manage users, but to add kopano attributes admins would need to switch to the ldap tree view. * use :7.0.RC1 as this is the first image that supports automatic setup
		
			
				
	
	
		
			33 lines
		
	
	
		
			885 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			885 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # Depends on https://github.com/LDAPAccountManager/lam/pull/76
 | |
| version: "3.5"
 | |
| 
 | |
| services:
 | |
|   ldap-account-manager:
 | |
|     image: ldapaccountmanager/lam:7.0.RC1 # newer releases may exist, this tag was the first one with the required changes
 | |
|     restart: unless-stopped
 | |
|     #ports:
 | |
|     #  - "8080:80"
 | |
|     depends_on:
 | |
|       - ldap
 | |
|       - web
 | |
|     volumes:
 | |
|       - lametc/:/etc/ldap-account-manager
 | |
|       - lamconfig/:/var/lib/ldap-account-manager/config
 | |
|       - lamsession/:/var/lib/ldap-account-manager/sess
 | |
|     environment:
 | |
|       - LAM_PASSWORD=${LDAP_ADMIN_PASSWORD}
 | |
|       - LAM_LANG=en_US
 | |
|       - LAM_TIMEZONE=Europe/Berlin
 | |
|       - LDAP_SERVER=${LDAP_SERVER}
 | |
|       - LDAP_DOMAIN=${LDAP_DOMAIN}
 | |
|       - LDAP_BASE_DN=${LDAP_BASE_DN}
 | |
|       - ADMIN_USER=cn=admin,${LDAP_BASE_DN}
 | |
|       #- DEBUG=true
 | |
|     networks:
 | |
|       - ldap-net
 | |
|       - web-net
 | |
| volumes:
 | |
|   lametc:
 | |
|   lamconfig:
 | |
|   lamsession:
 |