GeoWebCache is a web application used to cache map tiles coming from sources such as WebMapServices.
2.3K
To start GeoWebCache:
docker run --rm -d -p 8080:8080 --name gwc municipia/geowebcache:VERSION
You can test it by visiting http://localhost:8080/geowebcache or http://host-ip:8080/geowebcache in a browser.
The default administrator's username/password is gwcadmin/secured. However, you can change them by using environment variables.
You can also use the following environment variables to pass arguments to GeoServer:
GEOWEBCACHE_DATA_DIR=<PATH> : default /opt/data
GEOWEBCACHE_CACHE_DIR=<PATH> : default /opt/data/cache
GEOWEBCACHE_CONFIG_DIR=<PATH> : default /opt/data/config
GEOWEBCACHE_LOG_DIR=<PATH> : default /opt/data/logs
GEOWEBCACHE_INSTALL_DIR=<PATH> : default /opt/geowebcache
GEOWEBCACHE_USER=<username> : default gwcadmin
GEOWEBCACHE_PASSWORD=<password> : default secured
GEOWEBCACHE_PASSWORD=<password> : default secured
GEOWEBCACHE_CONTEXTPATH=<contextpath> : URL that users will access to the application. A simple context path like myapp means the web app can be accessed from a URL like http://localhost:8080/myapp, default geowebcache
GEOWEBCACHE_LOG_LEVEL=<level> : default INFO
BACKEND_TIMEOUT=<Any integer> : The backend timeout is the number of seconds GWC will wait for a backend server to return something before closing the connection, default 120
Rendering settings
ENABLE_JSONP=<true or false> : default: trueMAX_FILTER_RULES=<Any integer> : default: 20OPTIMIZE_LINE_WIDTH=<false or true> : default falseJVM Options:
INITIAL_MEMORY=<size> : Initial Memory that Java can allocate, default 2GMAXIMUM_MEMORY=<size> : Maximum Memory that Java can allocate, default 4GNEW_SIZE=<size> : default 4GADDITIONAL_JAVA_STARTUP_OPTIONS=<options> : Additional JVM startup options, Example ADDITIONAL_JAVA_STARTUP_OPTIONS='-Dorg.geotools.shapefile.datetime=true'WMTS service information:
KEYWORDS=<text,text> : default WFS,WMS,WMTS,GEOWEBCACHEGEOWEBCACHE_SERVICE_TITLE=<text>GEOWEBCACHE_SERVICE_DESCRIPTION=<text>GEOWEBCACHE_PROVIDER_NAME=<text>GEOWEBCACHE_PROVIDER_SITE=<text>GEOWEBCACHE_CONTACT_NAME=<text>GEOWEBCACHE_CONTACT_POSITION=<text>GEOWEBCACHE_CONTACT_ADDRESS_TYPE=<text>GEOWEBCACHE_CONTACT_ADDRESS=<text>GEOWEBCACHE_CONTACT_ADDRESS_CITY=<text>GEOWEBCACHE_CONTACT_ADDRESS_POSTAL_CODE=<text>GEOWEBCACHE_CONTACT_ADDRESS_COUNTRY=<text>GEOWEBCACHE_CONTACT_PHONE=<text>GEOWEBCACHE_CONTACT_EMAIL=<text>Content type
Image
Digest
sha256:d401bcbeb…
Size
227.8 MB
Last updated
about 4 years ago
docker pull municipia/geowebcache