2017-06-28 13:57:58 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
openldap:
|
2017-08-08 14:03:51 +00:00
|
|
|
image: clems4ever/openldap
|
|
|
|
environment:
|
|
|
|
- SLAPD_ORGANISATION=MyCompany
|
|
|
|
- SLAPD_DOMAIN=example.com
|
|
|
|
- SLAPD_PASSWORD=password
|
|
|
|
- SLAPD_CONFIG_PASSWORD=password
|
|
|
|
- SLAPD_ADDITIONAL_MODULES=memberof
|
|
|
|
- SLAPD_ADDITIONAL_SCHEMAS=openldap
|
|
|
|
- SLAPD_FORCE_RECONFIGURE=true
|
2017-06-28 13:57:58 +00:00
|
|
|
volumes:
|
|
|
|
- ./example/ldap/base.ldif:/etc/ldap.dist/prepopulate/base.ldif
|
|
|
|
- ./example/ldap/access.rules:/etc/ldap.dist/prepopulate/access.rules
|
|
|
|
networks:
|
|
|
|
- example-network
|
|
|
|
|