Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ RUN echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/so ...@@ -11,6 +11,7 @@ RUN echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/so
COPY --chown=root:root entrypoint / COPY --chown=root:root entrypoint /
EXPOSE 389 636 EXPOSE 389 636
VOLUME [ "/var/lib/ldap" ] VOLUME [ "/var/lib/ldap" ]
VOLUME [ "/run/ldap" ]
ENV LDAP_URLS="ldap:/// ldapi:/// ldaps:///" \ ENV LDAP_URLS="ldap:/// ldapi:/// ldaps:///" \
SLAPD_DEBUG_LEVEL="NONE" SLAPD_DEBUG_LEVEL="NONE"
ENTRYPOINT [ "/entrypoint" ] ENTRYPOINT [ "/entrypoint" ]
......
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
> Dockerized OpenLDAP daemon. > 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 ## Environment variables
Name | Description | Default value Name | Description | Default value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment