kartoza / docker-geoserver

A docker recipe for GeoServer
GNU General Public License v2.0
628 stars 423 forks source link

Unexpected environment variable mapping #698

Open mpschaeuble opened 3 weeks ago

mpschaeuble commented 3 weeks ago

What is the bug or the crash?

In the entrypoint.sh script, the environment variable PROXY_BASE_URL_PARAMETRIZATION (which is set to false by default in env-data.sh) is mapped to the geoserver variable ALLOW_ENV_PARAMETRIZATION. This leads to the fact, that setting the environment variable ALLOW_ENV_PARAMETRIZATION in a docker environment, the variable value is not considered by geoserver. I couldn't find any information about this topic in the documentation, but the mapping looks wrong to me.

Steps to reproduce the issue

see https://github.com/kartoza/docker-geoserver/blob/develop/scripts/entrypoint.sh

Versions

v2.23.0

Additional context

No response

NyakudyaA commented 3 weeks ago

https://docs.geoserver.org/main/en/user/datadirectory/configtemplate.html