Example of SKIP_DEMO_DATA

pull/14/head
Jody Garnett 2022-10-21 23:21:04 -07:00
parent 4d6b52d50e
commit 34c7b0ab09
1 changed files with 9 additions and 2 deletions

View File

@ -56,8 +56,15 @@ using the same data directory.
### How to start a GeoServer without sample data? ### 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. 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 GeoServer.
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? ### How to download and install additional extensions on startup?