lippserd / docker-compose-icinga

docker-compose Icinga stack
92 stars 85 forks source link

ENV var to ini conversion #39

Open adn77 opened 1 year ago

adn77 commented 1 year ago

I totally love this "playground".

One thing that cost me a day of work was some strange DB configuration is not valid in the Director and vSphereDB modules after adding some LDAP resource.

Turns out that the frontend puts all resource values in double quotes. Since the entrypoint GO program is not doing this, we have to make sure to quote values in ENV vars ourselves, e.g.:

icingaweb.resources.ad-ldap.root_dn: '"dc=example,dc=com"'