Public Repository

Last pushed: 4 months ago
Short Description
Geoserver with extension
Full Description

Geoserver

Tags

Geoserver Version Tags
2.12.1 2.12.1 , stable , latest
2.11.4 2.11.4 , lts
2.11.1 2.11.1
2.9.4 2.9.4
2.8.3 2.8.3

Description

we are building with Tomcat 8.0-jre8 and Oracle JDK8
Addition in container

  • All plugins
  • SQL Server JDBC 6.0 (201707)
  • Support Thai Font in SLD eg. TH Sarabun PSK, Google Kanit, Google Prompt
  • Apache Tomcat admin access
  • CORS enable
  • GDAL library 1.10.1
  • ImageI/O-Ext GDAL libraries
  • Tuning performance following i-bitz standard
    #! /bin/sh
    JAVA_OPTS="$JAVA_OPTS\
    -server\
    -Xms2G\
    -Xmx4G\
    -XX:+AggressiveOpts\
    -XX:+HeapDumpOnOutOfMemoryError\
    -XX:MaxPermSize=1024m\
    -XX:MaxNewSize=256m\
    -XX:NewRatio=2\
    -XX:NewSize=256m\
    -XX:SurvivorRatio=12\
    -XX:MaxTenuringThreshold=0\
    -XX:+UseConcMarkSweepGC\
    -XX:+CMSIncrementalMode\
    -XX:+CMSIncrementalPacing\
    -XX:+CMSClassUnloadingEnabled\
    -XX:+CMSPermGenSweepingEnabled\
    -XX:+DisableExplicitGC\
    -XX:+UseParNewGC\
    -XX:+UseTLAB\
    -XX:SoftRefLRUPolicyMSPerMB=36000\
    -XX:PerfDataSamplingInterval=500\
    -Djava.awt.headless=true\
    -DGEOSERVER_NODE_OPTS=id:$host_ip"
    

Usage

Run container

for generic usage

docker run -d -p 8080:8080 -v $PWD/geoserver_data:/opt/geoserver/data_dir ibitz/geoserver:tag

for mount context.xml from docker image

docker run -d -p 8080:8080 -v $PWD/geoserver_data:/opt/geoserver/data_dir -v $PWD/context.xml:/usr/local/tomcat/conf/context.xml ibitz/geoserver:tag
docker run -d -p 80:8080 -v $PWD/geoserver_data:/opt/geoserver/data_dir -v $PWD/context.xml:/usr/local/tomcat/conf/context.xml ibitz/geoserver:tag

https://github.com/i-bitz/Tomcat for get sample context.xml

For Tomcat application manager

username : admin
password : tomcatadmin

For Geoserver

username : admin
password : geoserver

Credits

Docker Pull Command
Owner
ibitz