Hello All,

I am using geoserver docker image.
If I set `SKIP_DEMO_DATA=true`[1], the Global Settings[2] will change.
For example, "Number of Decimals" is set to 4 instead of the default value of 8.

Is this an intended change? Or is it a bug?

[1] https://github.com/geoserver/docker?tab=readme-ov-file#environment-variables
[2] https://docs.geoserver.org/latest/en/user/configuration/globalsettings.html

$ docker image ls --digests docker.osgeo.org/geoserver
REPOSITORY                   TAG       DIGEST                                   
                                 IMAGE ID       CREATED         SIZE
docker.osgeo.org/geoserver   2.25.0    
sha256:19335fcc02fbdcbcff0acdc89a05831f88e074d9025e49b11cb0355df1091c4f   
e2ab41d76027   9 days ago      957MB

$ docker run --rm -it -p 80:8080 -e SKIP_DEMO_DATA=false 
docker.osgeo.org/geoserver:2.25.0
...
$ curl -s -u admin:geoserver http://localhost:80/geoserver/rest/settings | jq 
.global.settings.numDecimals
8

---

$ docker run --rm -it -p 80:8080 -e SKIP_DEMO_DATA=true 
docker.osgeo.org/geoserver:2.25.0
...
$ curl -s -u admin:geoserver http://localhost:80/geoserver/rest/settings | jq 
.global.settings.numDecimals
4

Best regards,
Shingo



_______________________________________________
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