This Docker image provides an ApacheDS LDAP server. The project sources can be found on GitHub.
use build.sh
The container can be started issuing the following command:
$ docker run --name ldap -d -p 389:10389 1000kit/apacheds
alternative run docker-compose:
$ docker-compose up
Start your own defined Apache DS instance with your own configuration for partitions and services. You need to mount your config.ldif file and set the APACHEDS_INSTANCE environment variable properly.
$ docker run --name ldap -d -p 10389:10389 -e APACHEDS_INSTANCE=<INSTANCE_NAME> -v /path/to/your/config.ldif:/opt/bootstrap/conf/config.ldif:ro 1000kit/apacheds
Configuration of own admin password
- ADMIN_PASSWORD=secret Configuration for new partition which will be created on startup.
- DOMAIN_NAME=1000kit
- DOMAIN_SUFFIX=de
add volume /opt/ldif_exit to import ldif file on startup. Files will be included in schema [0-9][0-9]*.ldif
, e.g.:
- 10_structure.ldif
- 20_schema.ldif
- 30_users.ldif