A simple openldap server with Let's encrypt compatible setup.
213
This is a container that serves an OpenLDAP (using a Centos base image).
Current features are:
Tag latest maps to the master branch of bitbucket (and I wrote that just to get an auto-build):
Source here: https://bitbucket.org/cenapt/docker-openldap
This example will work with a Let's encrypt config.
docker volume create openldap_db
docker volume create openldap_config
docker run -it --rm -v openldap_db:/var/lib/ldap -v openldap_config:/etc/openldap/slapd.d \
-e SLAPD_DC="dc=auth,dc=example,dc=net" -e SLAPD_MANAGER_PW="test" -e SLAPD_ROOT_PW="test" \
-e SLAPD_NAME="Example.net Auth" -e SLAPD_SERVERNAME="auth" -e SAMBA_PW=test \
-e TLS_CERT=cert.pem -e TLS_KEY=privkey.pem -e TLS_CACERT=chain.pem \
-v /etc/letsencrypt/live/auth.example.net:/ssl --name auth cenapt/openldap
The server is then ready to listen on 389 and feel free to expose the port.
Content type
Image
Digest
Size
106.4 MB
Last updated
almost 9 years ago
docker pull cenapt/openldap