Hi,

I am using the docker version of GeoServer. We would like to set a number of 
properties through the environment variables within a docker compose (and later 
on with Kubernetes). It seems that though there is some parameter substitution 
in place, it can only be used with file based properties eg in 
geoserver-environment.properties? 
(https://docs.geoserver.org/latest/en/user/datadirectory/configtemplate.html#datadir-configtemplate)

At the moment I’m creating that file as part of the entrtypoint in the docker: 

ENTRYPOINT env > /opt/geoserver_data/geoserver-environment.properties && 
/opt/startup.sh

But it would be better if the environment variables could be used directly…  Am 
I missing something, is there a reason that this is not possible or is it some 
feature that is still missing?

One thing was missing from these properties: setting the admin password. The 
docs mentioned that this was possible 
https://docs.geoserver.org/latest/en/user/security/passwd.html#parametrized-passwords
 
<https://docs.geoserver.org/latest/en/user/security/passwd.html#parametrized-passwords>
 , but I didn’t notice that I was browsing the latest docs and that this is not 
yet released. Perhaps adding a ‘since release xx’ or something alike at the 
section head would have been more clear. 


Kind Regards,
Jan

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to