From 34c7b0ab093c0246610baa379efdcdcf3a94da71 Mon Sep 17 00:00:00 2001 From: Jody Garnett Date: Fri, 21 Oct 2022 23:21:04 -0700 Subject: [PATCH 1/3] Example of SKIP_DEMO_DATA --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a7470d6..80ee175 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,15 @@ using the same data directory. ### How to start a GeoServer without sample data? -This image populates GeoServer with demo data by default. For production scenarios this is typically not desired. -The environment variable `SKIP_DEMO_DATA` can be set to `true` to create an empty GeoServer. +This image populates ``/opt/geoserver_data/`` with demo data by default. For production scenarios this is typically not desired. + +The environment variable `SKIP_DEMO_DATA` can be set to `true` to create an empty data directory. + +``` +docker run -it -p 80:8080 \ + --env SKIP_DEMO_DATA=true \ + docker.osgeo.org/geoserver:2.21.1 +``` ### How to download and install additional extensions on startup? From b5ce8e048debfaf5c09c0e5c6df326d247e3ea67 Mon Sep 17 00:00:00 2001 From: Jody Garnett Date: Fri, 21 Oct 2022 23:21:26 -0700 Subject: [PATCH 2/3] Tomcat 9.0.68 and GS_VERSION=2.22-RC --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5086810..212fee5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM ubuntu:22.04 # The GS_VERSION argument could be used like this to overwrite the default: # docker build --build-arg GS_VERSION=2.21.2 -t geoserver:2.21.2 . -ARG TOMCAT_VERSION=9.0.65 -ARG GS_VERSION=2.21.1 +ARG TOMCAT_VERSION=9.0.68 +ARG GS_VERSION=2.22-RC ARG GS_DATA_PATH=./geoserver_data/ ARG ADDITIONAL_LIBS_PATH=./additional_libs/ ARG ADDITIONAL_FONTS_PATH=./additional_fonts/ From 79def48c303cfe3c1b23c4d3bb485772c6f7cfe4 Mon Sep 17 00:00:00 2001 From: Jakob Miksch Date: Mon, 7 Nov 2022 15:44:08 +0100 Subject: [PATCH 3/3] Notes how to include a custom extension --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 80ee175..74c8bd7 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ excel inspire ogr-wfs wcs2_0-eo ### How to install additional extensions from local folder? -If you want to add geoserver extensions/libs by using a mount, you can add something like +If you want to add geoserver extensions/libs, place the respective jar files in a directory and mount it like ``` docker run -it -p 80:8080 \