This image has variables to enable replication from one instance to another. They are as follows:
LDAP_REPLICATION_ENABLE: set to "True" to enable the replication
LDAP_REPLICATION_INDEX: replication index of this instance, defaults to asking rancher-metadata service for the index of this container (must be unique in the cluster)
LDAP_REPLICATION_DN: the DN used for authenticating replication
LDAP_REPLICATION_PASSWORD: the Password for the replication DN
LDAP_REPLICA_PURGE_DELAY: delay after which to forget a non-responding node
LDAP_REPLICATION_LOG_KEEP_TIME: time to keep the change log
A Schema definition can be inserted into the ldap server using LDAP_EXTRA_SCHEMA_DEFS which must contain a valid schema definition as per the documentation.