authelia/example/compose/ldap/docker-compose.yml

20 lines
595 B
YAML
Raw Normal View History

version: '3'
services:
openldap:
2019-12-06 08:15:54 +00:00
image: osixia/openldap:1.3.0
hostname: ldap.example.com
environment:
2019-12-06 08:15:54 +00: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
volumes:
- './example/compose/ldap/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom'
2019-12-06 08:15:54 +00:00
command:
- '--copy-service'
networks:
- authelianet