2

I am using GeoServer 2.16.0 docker image build by myself based on kartoza's dockerfile.

The only pre-configuration is down via environment files, e.g. geoserver.env:

ENABLE_JSONP=true                                                                                                                                         
FOOTPRINTS_DATA_DIR=/opt/footprints_dir
GEOSERVER_ADMIN_PASSWORD=myawesomegeoserver
GEOSERVER_DATA_DIR=/opt/geoserver/data_dir
GEOSERVER_NODE_OPTS="id:$hostname - ($host_ip);background:red;color:white"
GEOWEBCACHE_CACHE_DIR=/opt/geoserver/data_dir/gwc
#JAVA_OPTS="-Duser.country=US -Duser.language=en"
MAX_FILTER_RULES=20
OPTIMIZE_LINE_WIDTH=false

I would like to configure more, e.g. workspaces, stores, but cannot find any according documentation.

Is there any better way than the following?

  1. Configuring a running container having the DATA_DIR mounted
  2. Create an own image based in kartoza's and add the DATA_DIR content?
New contributor
Eike is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Eike is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.