georchestra / docker

Quick start geOrchestra with docker
18 stars 21 forks source link

Automatically populate the correct credentials for ldap in geoserver #273

Open edevosc2c opened 6 months ago

edevosc2c commented 6 months ago

Automatically fill/update this file when in a dockerized environment: https://github.com/georchestra/geoserver_minimal_datadir/blob/2038886f66dc10ebf4d705aec1f35856c89b3155/security/role/my_ldap/config.xml#L4

My idea is to check if this file may accept environments variables and with a fallback if the env is not found.

May not be possible according to JM.

fvanderbiest commented 6 months ago

see https://github.com/georchestra/georchestra/blob/d0a1035ad54d67a216ae272285d54f7c2e3d9e11/geoserver/webapp/src/docker/docker-entrypoint.d/00-geoserver-bootstrap#L13-L15