Skip to content

yosoyjay/docker-ncwms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:/usr/local/tomcat/conf/ssl.crt \
    -v /path/to/your/ssl.key:/usr/local/tomcat/conf/ssl.key \
    -v /path/to/your/tomcat-users.xml:/usr/local/tomcat/conf/tomcat-users.xml \
    -v /path/to/your/ncwms/config:/usr/local/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:/usr/local/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)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%