Two ways to initialize data when docker-compose deploys openldap

Original link: https://wiki.eryajf.net/pages/700318/

79547dc28b819ac9.jpg

Usually, we will quickly pull up an openLDAP test environment through docker-compose for verification or debugging of some functions, but there is some basic data that does not need to be created repeatedly, such as two basic organizational users and groups, so I will consider How can these two be created in the process of container startup.

This article is reproduced from: https://wiki.eryajf.net/pages/700318/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment