Skip to content

Ramhm/openldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

OpenLDAP + phpldapadmin (Docker / Docker Compose)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published