A feature full Tomcat (SSL over APR, etc.) running ncWMS
Available versions:
axiom/docker-ncwms
(currently2.2.4
) - docker hub
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
See these instructions for configuring Tomcat
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
By default, Tomcat will start with two user accounts. The passwords are equal to the user name.
ncwms
- used to admin ncWMSadmin
- can be used by everything else (has full privileges)