1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-05 23:16:12 +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:
Felix Bartels 2019-12-11 11:36:23 +01:00 committed by GitHub
parent 09ccf72180
commit 9badb0af5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View 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:

View File

@ -198,6 +198,11 @@
/.well-known/caldav /kdav/
}
proxy /lam/ ldap-account-manager:80 {
transparent
}
redir /lam /lam/
proxy /ldap-admin/ ldap-admin:80 {
without /ldap-admin
transparent