Skip to content

Commit

Permalink
Updated README.md to add volumes usage
Browse files Browse the repository at this point in the history
  • Loading branch information
joariasl committed Feb 11, 2019
1 parent 832bee7 commit 9277195
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,17 @@ docker run -d --name openldap -p 389:389 \
-e LDAP_PASSWORD='ADpassword' \
openldap
```

## Using volumes
```
docker run -d --name openldap -p 389:389 \
-e LDAP_SERVERS='ldap://ad.example.com:389/' \
-e LDAP_SEARCH_BASE='CN=DomainUsers,DC=example,DC=com' \
-e LDAP_TIMEOUT=10 \
-e LDAP_FILTER='(sAMAccountName=%U)' \
-e LDAP_BIND_DN='CN=Administrator,CN=Users,DC=example,DC=com' \
-e LDAP_PASSWORD='ADpassword' \
-v openldap-conf:/usr/local/etc/openldap \
-v openldap-data:/usr/local/var/openldap-data \
openldap
```

0 comments on commit 9277195

Please sign in to comment.