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.
1 parent 832bee7 commit 9277195Copy full SHA for 9277195
README.md
@@ -21,3 +21,17 @@ docker run -d --name openldap -p 389:389 \
21
-e LDAP_PASSWORD='ADpassword' \
22
openldap
23
```
24
+
25
+## Using volumes
26
+```
27
+docker run -d --name openldap -p 389:389 \
28
+-e LDAP_SERVERS='ldap://ad.example.com:389/' \
29
+-e LDAP_SEARCH_BASE='CN=DomainUsers,DC=example,DC=com' \
30
+-e LDAP_TIMEOUT=10 \
31
+-e LDAP_FILTER='(sAMAccountName=%U)' \
32
+-e LDAP_BIND_DN='CN=Administrator,CN=Users,DC=example,DC=com' \
33
+-e LDAP_PASSWORD='ADpassword' \
34
+-v openldap-conf:/usr/local/etc/openldap \
35
+-v openldap-data:/usr/local/var/openldap-data \
36
+openldap
37
0 commit comments