osixia / docker-openldap

OpenLDAP container image 🐳🌴
MIT License
4.06k stars 978 forks source link

Can anyone give step-by-step instruction according to "Multi master replication" ? #659

Open Donvito777 opened 1 year ago

Donvito777 commented 1 year ago

I am sorry it is not clear to me how to do the replication with Docker install. Can anyone give a simple instruction?

nix-power commented 1 year ago

You do it exactly as for non-docker setup. Prepare configuration files, mount them inside the container and start the container with the following env

 KEEP_EXISTING_CONFIG: 'true'
Donvito777 commented 1 year ago

nix-power thank you for your answer. It looks much clearer now when you confirmed that it should be done exactly as non-docker setup. Let me summarise it in points.

  1. Find the config files inside of the docker and modify them as in non-docker instructions.
  2. When config done on both servers stop the containers and start with provided env right?