Hello Florian, You should be able to provide it a config directory, as a volume, as mentioned here <https://github.com/gocd/docker-gocd-server/#under-the-hood>. The config inside that will be used and the LDAP settings in it will be used.
Cheers, Aravind On Wed, Jan 31, 2018 at 9:02 AM, Florian Kammermann <[email protected]> wrote: > We would like to create docker images, where gocd is already preconfigured > with the ldap usermanagement. > > The only way to configure the ldap usermanagement automatically I've seen > is over the REST api https://api.gocd.org/current/# > create-an-authorization-configuration. > Here I have the problem, that I have to detect when when gocd is up and > running before I execute the REST call, this is not so nice when go is the > process started in a docker container. > > Is there another way to hock up in the start process of gocd and configure > the usermanagement? > For example jenkins has the groovy init scripts > https://github.com/Accenture/adop-jenkins/blob/master/ > resources/init.groovy.d/adop_ldap.groovy > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
