version: '2' services: openldap: image: bitnami/openldap:latest ports: - '1389:1389' - '1636:1636' environment: - LDAP_SKIP_DEFAULT_TREE=yes - LDAP_ROOT=dc=sectorq,dc=eu - LDAP_ADMIN_USERNAME=admin - LDAP_ADMIN_PASSWORD=l4c1j4yd33Du5lo - LDAP_USERS=test - LDAP_PASSWORDS=q - LDAP_GROUP=group - LDAP_USER_DC=people #- LDAP_CUSTOM_LDIF_DIR=/ldifs - LDAP_CONFIG_ADMIN_ENABLED=yes - LDAP_CONFIG_ADMIN_USERNAME=admin - LDAP_CONFIG_ADMIN_PASSWORD=l4c1j4yd33Du5lo #- LDAP_CUSTOM_SCHEMA_FILE=/custom/00-custom.ldif volumes: - '/share/docker_data/openldap/data:/bitnami/openldap' - '/share/docker_data/openldap/ldifs:/ldifs' - '/share/docker_data/openldap/custom2:/custom' network_mode: bridge