Commit 28e0bd6e authored by nimrod's avatar nimrod
Browse files

slapd ldapi socket.

- Specify the `/run/slapd` volume in the Dockerfile.
- Document TCP ports and Unix socket for slapd.
parent fe9f7c87
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ RUN echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/so
COPY --chown=root:root entrypoint /
EXPOSE 389 636
VOLUME [ "/var/lib/ldap" ]
VOLUME [ "/run/ldap" ]
ENV LDAP_URLS="ldap:/// ldapi:/// ldaps:///" \
    SLAPD_DEBUG_LEVEL="NONE"
ENTRYPOINT [ "/entrypoint" ]
+5 −0
Original line number Diff line number Diff line
@@ -2,6 +2,11 @@

> Dockerized OpenLDAP daemon.

## Interfaces exposed

The container exposes TCP ports 389 (LDAP) and 636 (LDAPS) as well as the
`ldapi` Unix socket in the `/run/slapd` volume.

## Environment variables

Name | Description | Default value