|
|
@@ -246,15 +246,16 @@ Replication options:
|
|
|
- **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`
|
|
|
|
|
|
- **LDAP_REPLICATION_HOSTS**: list of replication hosts, must contain the current container hostname set by --hostname on docker run command. Defaults to :
|
|
|
-```yaml
|
|
|
+ ```yaml
|
|
|
- ldap://ldap.example.org
|
|
|
- - ldap://ldap2.example.org
|
|
|
-```
|
|
|
-If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
|
|
|
+ - ldap://ldap2.example.org
|
|
|
+ ```
|
|
|
+
|
|
|
+ If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
|
|
|
|
|
|
- docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.1.0
|
|
|
+ docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.1.0
|
|
|
|
|
|
-To convert yaml to python online: http://yaml-online-parser.appspot.com/
|
|
|
+ To convert yaml to python online: http://yaml-online-parser.appspot.com/
|
|
|
|
|
|
Other environment variables:
|
|
|
- **LDAP_REMOVE_CONFIG_AFTER_SETUP**: delete config folder after setup. Defaults to `true`
|