We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85fa1ad + 98c827b commit 2c098f3Copy full SHA for 2c098f3
image/Dockerfile
@@ -28,5 +28,5 @@ ADD service/slapd/daemon.sh /etc/service/slapd/run
28
# Set OpenLDAP data and config directories in a data volume
29
VOLUME ["/var/lib/ldap", "/etc/ldap/slapd.d"]
30
31
-# Expose ldap default port
32
-EXPOSE 389
+# Expose default ports for ldap and ldaps
+EXPOSE 389 636
image/service/slapd/daemon.sh
@@ -5,4 +5,4 @@
5
# see https://github.com/docker/docker/issues/8231
6
ulimit -n 1024
7
8
-exec /usr/sbin/slapd -h "ldap:/// ldapi:///" -u openldap -g openldap -d "$LDAP_LOG_LEVEL"
+exec /usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u openldap -g openldap -d "$LDAP_LOG_LEVEL"
0 commit comments