Public | Automated Build

Last pushed: 9 months ago
Short Description
A feature full Tomcat (SSL over APR, etc.) running ncWMS
Full Description

ncWMS on Docker

A feature full Tomcat (SSL over APR, etc.) running ncWMS

Available versions:

  • axiom/docker-ncwms (currently 2.2.4) - docker hub

tl;dr

Quickstart

$ docker run \
    -d \
    -p 80:8080 \
    -p 443:8443 \
    axiom/docker-ncwms

Production

$ docker run \
    -d \
    -p 80:8080 \
    -p 443:8443 \
    -v /path/to/your/ssl.crt:/opt/tomcat/conf/ssl.crt \
    -v /path/to/your/ssl.key:/opt/tomcat/conf/ssl.key \
    -v /path/to/your/tomcat-users.xml:/opt/tomcat/conf/tomcat-users.xml \
    -v /path/to/your/ncwms/config:/opt/tomcat/.ncWMS2 \
    -e "ADVERTISED_PALETTES=div-RdBu" \
    -e "DEFAULT_PALETTE=div-RdBu" \
    --name ncwms \
    axiom/docker-ncwms

Configuration

Tomcat

See these instructions for configuring Tomcat

ncWMS

Mount your own config directory:

$ docker run \
    -v /path/to/your/ncwms/config/directory:/opt/tomcat/.ncWMS2 \
    ... \
    axiom/docker-ncwms

Set your own default palette

$ docker run \
    -e "DEFAULT_PALETTE=seq-BuYl" \
    ... \
    axiom/docker-ncwms

Set your own advertised palettes

$ docker run \
    -e "ADVERTISED_PALETTES=div-RdBu,div-RdBu-inv,seq-cubeYF" \
    ... \
    axiom/docker-ncwms

Users

By default, Tomcat will start with two user accounts. The passwords are equal to the user name.

  • ncwms - used to admin ncWMS
  • admin - can be used by everything else (has full privileges)
Docker Pull Command
Owner
axiom
Source Repository

Comments (0)