Skip to content

Commit b12753b

Browse files
committed
docs
1 parent 9c2ed74 commit b12753b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,15 +246,16 @@ Replication options:
246246
- **LDAP_REPLICATION_HDB_SYNCPROV**: olcSyncRepl options used for the HDB database. Without **rid** and **provider** which are automatically added based on LDAP_REPLICATION_HOSTS. Defaults to `binddn="cn=admin,$LDAP_BASE_DN" bindmethod=simple credentials=$LDAP_ADMIN_PASSWORD searchbase="$LDAP_BASE_DN" type=refreshAndPersist interval=00:00:00:10 retry="60 +" timeout=1 starttls=critical`
247247

248248
- **LDAP_REPLICATION_HOSTS**: list of replication hosts, must contain the current container hostname set by --hostname on docker run command. Defaults to :
249-
```yaml
249+
```yaml
250250
- ldap://ldap.example.org
251-
- ldap://ldap2.example.org
252-
```
253-
If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
251+
- ldap://ldap2.example.org
252+
```
253+
254+
If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
254255

255-
docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.1.0
256+
docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.1.0
256257

257-
To convert yaml to python online: http://yaml-online-parser.appspot.com/
258+
To convert yaml to python online: http://yaml-online-parser.appspot.com/
258259

259260
Other environment variables:
260261
- **LDAP_REMOVE_CONFIG_AFTER_SETUP**: delete config folder after setup. Defaults to `true`

0 commit comments

Comments
 (0)