19 lines
559 B
YAML
19 lines
559 B
YAML
|
version: '2'
|
||
|
services:
|
||
|
openldap:
|
||
|
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
|
||
|
volumes:
|
||
|
- ./example/compose/ldap/base.ldif:/etc/ldap.dist/prepopulate/base.ldif
|
||
|
- ./example/compose/ldap/access.rules:/etc/ldap.dist/prepopulate/access.rules
|
||
|
networks:
|
||
|
- example-network
|
||
|
|