It's a simple implementation of OpenLDAP to OpenLDAP with plenty of ldif eamples and also connecting the server with a simple app.
ldapsearch -x -b 'dc=ldap,dc=example,dc=com' '(objectClass=*)'
ldapsearch -x -h localhost -b dc=ldap,dc=example,dc=com -D "cn=admin,dc=ldap,dc=example,dc=com" -w ldap
docker exec $LDAP2_CID ldapsearch -x -H ldap://ldap.example.com -b dc=ldap,dc=example,dc=com -D "cn=admin,dc=ldap,dc=example,dc=com" -w admin -ZZ
ldapadd -Y EXTERNAL -H ldapi:/// -f 10-user-group-base.ldif
docker run --hostname ldap.example.com --detach osixia/openldap:latest
- There are few bugs which needs to be worked on, like redploying the containers (after making some changes) will result in backup container throwing some error etc.
- If the ldifs are not being added automatically then exec into the container and add them manually