Skip to content
Docker image for the GBIF IPT
Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore Upgrade to 2.4.0, and polish this up a bit. Jul 24, 2019
Dockerfile Upgrade to 2.4.0, and polish this up a bit. Jul 24, 2019
README.md

README.md

Docker IPT

A Docker image for the GBIF IPT running in Tomcat 8.5 with JRE8 on minimal Alpine Linux. Tomcat is exposed on port 8080 and the IPT runs as the ROOT application.

We regulary publish IPT releases as Docker images to Docker Hub: https://hub.docker.com/r/gbif/ipt/

To run the Docker image

To run a new Docker container, startup Tomcat and expose the Tomcat port run like this:

docker run --detach --volume /full/path/to/data-directory:/srv/ipt --publish 8080:8080 gbif/ipt

You can then access the setup screen of the IPT on port 8080.

If you need to override the data directory, this can be done with -e IPT_DATA_DIR=/path/within/container.

If you need to find the IP address of your "default" Docker machine use docker-machine ip default.

Remember to back up your data directory.

Upgrading

Note that, for better consistency with the Filesystem Hierarchy Standard, from version 2.4.0 the IPT's default data directory is /srv/ipt, not /usr/local/ipt. This can be overridden, see above.

To build and deploy the Docker image

docker build --build-arg ipt_version=2.4.0 -t gbif/ipt:2.4.0 .
docker push gbif/ipt:2.4.0
You can’t perform that action at this time.