geosolutions-it / docker-geoserver

Docker Image for GeoServer
Other
63 stars 44 forks source link

Feature Request: Support EXTRA_GEOSERVER_OPTS #133

Closed hbruch closed 7 months ago

hbruch commented 10 months ago

In case someone wants to start the docker container with additional GEOSERVER_OPTS, all the default opts need to be redefined.

A new ENV variable EXTRA_GEOSERVER_OPTS which gets appended to GEOSERVER_OPTS would avoid this.

Note: Dockerfile#L98 defines JAVA_OPTS, though catalina.sh suggests to rather use CATALINA_OPTS instead of JAVA_OPTS

randomorder commented 10 months ago

thanks @hbruch I would split this in two:

hbruch commented 10 months ago

Yes, great, thank you!

And GEOSERVER_OPTS should be added to CATALINA_OPTS in the entrypoint.sh also, not in the Dockerfile, as currently a GEOSERVER_OPTS passed as ENV VAR is not evaluated, as JAVA_OPTS is extrapolated at build time already.

randomorder commented 7 months ago

merged. Sorry it took some time @hbruch thanks @camuffo