Add basic docker-compose demo

pull/1/head
Nils Bühner 2020-12-17 17:49:18 +01:00
parent a03ee5ae96
commit ed60742751
3 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.iml *.iml
*.idea *.idea
demo_data

View File

@ -17,6 +17,14 @@ Work is still in progress!
1. handles the `GEOSERVER_OPTS` 1. handles the `GEOSERVER_OPTS`
1. starts the tomcat 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 ## Building
`docker build -t geoserver:test .` `docker build -t geoserver:test .`

View File

@ -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