/openldap

OpenLDAP + phpldapadmin (Docker / Docker Compose)

Apache License 2.0Apache-2.0

OpenLDAP

Setup and Configure OpenLDAP using Docker

OpenLDAP + phpldapadmin (Docker / Docker Compose)

R.H (Ram.Hakimi@gmail.com)

OpenLDAP

Base Image:
osixia/openldap:latest
Port:
- "389:389"
- "636:636"
Volumes:
- ./data/certificates:/container/service/slapd/assets/certs
- ./data/slapd/database:/var/lib/ldap
- ./data/slapd/config:/etc/ldap/slapd.d
Environment:
- LDAP_ORGANISATION=<ORGANISATION>
- LDAP_DOMAIN=<DOMAIN>
- LDAP_ADMIN_USERNAME=<USER>
- LDAP_ADMIN_PASSWORD=<PASSWORD>
- LDAP_CONFIG_PASSWORD=<PASSWORD>
- "LDAP_BASE_DN=dc=<DOMAIN>,dc=<SUFFIX>"
- LDAP_TLS_CRT_FILENAME=server.crt
- LDAP_TLS_KEY_FILENAME=server.key
- LDAP_TLS_CA_CRT_FILENAME=<DOMAIN>.ca.crt
- LDAP_READONLY_USER=true
- LDAP_READONLY_USER_USERNAME=<USER>
- LDAP_READONLY_USER_PASSWORD=<PASSWORD>

phpLDAPadmin

Base Image:
osixia/phpldapadmin:latest
Port:
- "80:80"
Environment:
- PHPLDAPADMIN_LDAP_HOSTS=openldap
- PHPLDAPADMIN_HTTPS=false