2020-01-19 17:06:37 +07:00
|
|
|
version: '3'
|
2017-06-28 20:57:58 +07:00
|
|
|
services:
|
|
|
|
openldap:
|
2021-02-22 18:08:23 +07:00
|
|
|
image: osixia/openldap:1.5.0
|
2019-12-06 15:15:54 +07:00
|
|
|
hostname: ldap.example.com
|
2017-08-08 21:03:51 +07:00
|
|
|
environment:
|
2019-12-06 15:15:54 +07:00
|
|
|
- LDAP_ORGANISATION=MyCompany
|
|
|
|
- LDAP_DOMAIN=example.com
|
|
|
|
- LDAP_ADMIN_PASSWORD=password
|
|
|
|
- LDAP_CONFIG_PASSWORD=password
|
|
|
|
- LDAP_ADDITIONAL_MODULES=memberof
|
|
|
|
- LDAP_ADDITIONAL_SCHEMAS=openldap
|
|
|
|
- LDAP_FORCE_RECONFIGURE=true
|
|
|
|
- LDAP_TLS_VERIFY_CLIENT=try
|
2017-06-28 20:57:58 +07:00
|
|
|
volumes:
|
2020-01-19 17:06:37 +07:00
|
|
|
- './example/compose/ldap/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom'
|
2019-12-06 15:15:54 +07:00
|
|
|
command:
|
2020-01-19 17:06:37 +07:00
|
|
|
- '--copy-service'
|
2020-03-15 14:10:25 +07:00
|
|
|
- '--loglevel'
|
|
|
|
- 'debug'
|
2017-06-28 20:57:58 +07:00
|
|
|
networks:
|
2020-01-19 17:06:37 +07:00
|
|
|
- authelianet
|