Example of SKIP_DEMO_DATA
parent
4d6b52d50e
commit
34c7b0ab09
11
README.md
11
README.md
|
|
@ -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?
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue