Add basic docker-compose demo
parent
a03ee5ae96
commit
ed60742751
|
|
@ -1,3 +1,4 @@
|
||||||
*.iml
|
*.iml
|
||||||
*.idea
|
*.idea
|
||||||
|
|
||||||
|
demo_data
|
||||||
|
|
@ -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 .`
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
Loading…
Reference in New Issue