2017-06-28 20:57:58 +07:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
openldap:
|
2017-08-08 21:03:51 +07: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 20:57:58 +07:00
|
|
|
volumes:
|
2018-03-04 18:29:11 +07: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 21:54:29 +07:00
|
|
|
ports:
|
|
|
|
- "389:389"
|
2017-06-28 20:57:58 +07:00
|
|
|
networks:
|
2019-01-27 21:54:29 +07:00
|
|
|
- authelianet
|
2017-06-28 20:57:58 +07:00
|
|
|
|