Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Dockerfile describes the process of generating the docker image for Docker container. This image is built on top of Tomcat 7 server. The Docker file is defined per version of CDS and GNTB.

Dockerfile

ttp.sql

ttp-cds-entrypoint.sh

Deployment

Building the cds container image:

export SHIBCDS_VERSION=1.2.1; TTP_PASSWORD=ttpPASS; docker build -t cds-1.2.1 .

Deployment of database container:

docker run --name ttp-mysql -e "MYSQL_ROOT_PASSWORD=secret" -d mysql

Deployment of cds container:

docker run -p 80:8080 -e "TTP_PASSWORD=ttpPASS" --name ttp-cds --link ttp-mysql:db cds

Configuration