Don't hesitate to do a PR on
https://github.com/geoserver/docker/blob/master/README.md !

Le ven. 7 oct. 2022 à 14:23, Jan Hoskens <jan.hosk...@aca-it.be> a écrit :

>
> Hmm, starting to think I might have had some other problem while I was
> testing before. I tried to use the environment variables again, and it does
> seem to work now without the properties file…. Only the admin password
> substitution is not yet released, it seems.
>
> Perhaps mentioning the use of environment variables in the docs would have
> clarified it from the start. It only mentions the file based overwriting.
>
> Kind regards,
> Jan
>
> On 7 Oct 2022, at 13:46, Jan Hoskens <jan.hosk...@aca-it.be> wrote:
>
>
> Yes, the official one docker.osgeo.org/geoserver:2.21.1
>
> Kind regards,
> Jan
>
> On 7 Oct 2022, at 12:58, Alexandre Gacon <alexandre.ga...@gmail.com>
> wrote:
>
> Could you precise which docker image you are using? The official one?
>
> Alexandre
>
> Le ven. 7 oct. 2022 à 11:57, Jan Hoskens via Geoserver-users <
> geoserver-users@lists.sourceforge.net> a écrit :
>
>> 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
>>  ,
>> 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
>>
>
>
> --
> Alexandre Gacon
>
>
>
>

-- 
Alexandre Gacon
_______________________________________________
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