2019-11-02 14:32:58 +00:00
|
|
|
version: '3'
|
2017-06-28 13:57:58 +00:00
|
|
|
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:
|
2018-03-04 11:29:11 +00:00
|
|
|
- ./example/compose/ldap/base.ldif:/etc/ldap.dist/prepopulate/base.ldif
|
|
|
|
- ./example/compose/ldap/access.rules:/etc/ldap.dist/prepopulate/access.rules
|
2019-01-27 14:54:29 +00:00
|
|
|
ports:
|
|
|
|
- "389:389"
|
2017-06-28 13:57:58 +00:00
|
|
|
networks:
|
2019-01-27 14:54:29 +00:00
|
|
|
- authelianet
|
2017-06-28 13:57:58 +00:00
|
|
|
|