simple-ldap 10.1.0

A high-level LDAP client for Rust
Documentation
services:
    ldap_server:
        hostname: ldap_server
        # Bumping this version to the latest one is highly recommended.
        # It's just pinned for reproducibility.
        # See here for new releases: https://hub.docker.com/r/openidentityplatform/opendj/tags
        image: openidentityplatform/opendj:5.1.2
        ports:
            - "1389:1389"
            - "4444:4444"
        environment:
            - BASE_DN=dc=example,dc=com
            - ROOT_USER_DN=cn=manager
            - ROOT_PASSWORD=password
        volumes:
            - ./data/:/opt/opendj/import-data/
            - ./data/:/opt/opendj/bootstrap/data/
        networks:
            - backend
        healthcheck:
            test: ["CMD-SHELL", "/opt/opendj/bin/status --bindDn cn=manager --bindPassword=password | grep 1389"]
            interval: 5s
            timeout: 10s
            retries: 5
            start_period: 30s

# This might be redundant.
networks:
    backend:
        external: false