Public Repository

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

Geoserver

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 /Users/astrony/geoserver_data:/opt/geoserver/data_dir ibitz/geoserver:tag

for mount context.xml from docker image

docker run -d -p 8080:8080 -v /Users/astrony/geoserver_data:/opt/geoserver/data_dir -v /Users/astrony/mnt/conf/context.xml:/usr/local/tomcat/conf/context.xml ibitz/geoserver:tag
docker run -d -p 80:8080 -v /mnt/GISDATA:/opt/geoserver/data_dir -v /mnt/config/context.xml:/usr/local/tomcat/conf/context.xml ibitz/geoserver:2.11.1

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

  • Tim Sutton (tim@kartoza.com)
  • Shane St Clair (shane@axiomdatascience.com)
  • Alex Leith (alexgleith@gmail.com)
  • Prasong Patheepphoemphong (prasong.p@i-bitz.co.th)
Docker Pull Command
Owner
ibitz