diff --git a/.gitignore b/.gitignore index 92bc551..00e37c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.iml *.idea +demo_data \ No newline at end of file diff --git a/README.md b/README.md index 61d679c..1492caf 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,14 @@ Work is still in progress! 1. handles the `GEOSERVER_OPTS` 1. starts the tomcat +## Quickstart + +You can quickstart by using the docker-compose demo + +`docker-compose -f docker-compose-demo.yml up --build` + +(use `sudo` if you get problems with mounted geoserver data dir) + ## Building `docker build -t geoserver:test .` diff --git a/docker-compose-demo.yml b/docker-compose-demo.yml new file mode 100644 index 0000000..58c017a --- /dev/null +++ b/docker-compose-demo.yml @@ -0,0 +1,13 @@ +version: '3' +services: + geoserver: + build: + context: . + ports: + - 8080:8080 + environment: + - STABLE_EXTENSIONS=wps + - INITIAL_MEMORY=1G + - MAXIMUM_MEMORY=2G + volumes: + - ./demo_data/geoserver_data:/opt/geoserver_data/:Z