Dockerized H2 database service.
- A mix of zhilvis/docker-h2 and zilvinasu/h2-dockerfile.
- H2-DATA location on /opt/h2-data
- "geodb" tag with all the dependencies needed to run a geotools/geoserver H2 geospatial database (as per https://github.com/jdeolive/geodb).
Automated builds on docker registry:
Get the image:
docker pull oscarfonts/h2
Run as a service, exposing ports 1521 (TCP database server) and 81 (web interface) and mapping DATA_DIR to host:
docker run -d -p 1521:1521 -p 81:81 -v /path/to/local/data_dir:/opt/h2-data --name=MyH2Instance oscarfonts/h2
See the logs while running:
docker logs -f MyH2Instance