mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-30 18:07:46 +00:00 
			
		
		
		
	Add ldap account manager as an "extra" (#276)
* 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
This commit is contained in:
		
							parent
							
								
									09ccf72180
								
							
						
					
					
						commit
						9badb0af5a
					
				
							
								
								
									
										32
									
								
								ldap-extras/ldap-account-manager.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								ldap-extras/ldap-account-manager.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,32 @@ | |||||||
|  | # 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: | ||||||
| @ -198,6 +198,11 @@ | |||||||
| 		/.well-known/caldav  /kdav/ | 		/.well-known/caldav  /kdav/ | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | 	proxy /lam/ ldap-account-manager:80 { | ||||||
|  | 		transparent | ||||||
|  | 	} | ||||||
|  | 	redir /lam /lam/ | ||||||
|  | 
 | ||||||
| 	proxy /ldap-admin/ ldap-admin:80 { | 	proxy /ldap-admin/ ldap-admin:80 { | ||||||
| 		without /ldap-admin | 		without /ldap-admin | ||||||
| 		transparent | 		transparent | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user