Skip to content
 
 

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERDDAP on Docker

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

Recent versions:

  • axiom/docker-erddap:2.02
  • axiom/docker-erddap:1.82
  • axiom/docker-erddap:1.80

See all versions available here.

Quickstart

$ docker run -d -p 8080:8080 axiom/docker-erddap

Running ERRDAP CLI Tools

GenerateDatasetsXml

$ docker run --rm -it \
  -v $(pwd)/logs:/erddapData/logs \
  axiom/docker-erddap:latest \
  bash -c "cd webapps/erddap/WEB-INF/ && bash GenerateDatasetsXml.sh -verbose"

Configuration

Tomcat

See these instructions for configuring Tomcat from the Tomcat image this is built from (unidata/tomcat-docker).

ERDDAP

  1. Mount your own content/erddap directory:

    $ docker run \
        -v /path/to/your/erddap/directory:/usr/local/tomcat/content/erddap \
        ... \
        axiom/docker-erddap

    Your content directory should contain a setup.xml and dataset.xml file. It can also include CSS assets that you reference in your custom setup.xml file.

    If you just want to change setup.xml and dataset.xml, you can mount them individually:

    $ docker run \
        -v /path/to/your/setup.xml:/usr/local/tomcat/content/erddap/setup.xml \
        -v /path/to/your/datasets.xml:/usr/local/tomcat/content/erddap/datasets.xml \
        ... \
        axiom/docker-erddap

    Any custom setup.xml needs to specify <bigParentDirectory>/erddapData/</bigParentDirectory>

  2. Mount your own bigParentDirectory:

    $ docker run \
        -v /path/to/your/erddap/bigParentDirectory:/erddapData \
        ... \
        axiom/docker-erddap

    This is highly recommended, or nothing will persist across container restarts (logs/cache/etc.)

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages