21 lines
584 B
YAML
21 lines
584 B
YAML
version: '3'
|
|
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
|
|
ports:
|
|
- "389:389"
|
|
networks:
|
|
- authelianet
|
|
|