This project uses docker containers to startup JavaEE PostgreSQL web application. The local environment will be available at localhost
Follow install instructions at Docker
Follow instructions for installing docker-compose on macOS, Windows, and 64-bit Linux
Validate tool is available by running
docker-compose ps
, a list of docker containers is shown.
git clone https://github.com/ORCID/orcid-docker.git
cd orcid-docker
Build and pack the orcid web war file, helper script and config at
cp ./tomcat/test.env .env
sh ./tomcat/build.sh
Env Var | Description |
---|---|
ORCID_SOURCE | /Users/jperez/git/ORCID_Source |
PG_PASSWORD | orcid |
Rename test.env as .env update as needed
To start all services from the root folder do
docker-compose up -d
We can found containers IP from container name with
docker inspect --format '{{ (index .NetworkSettings.Networks "orcid_default").IPAddress }}' orcid_web_1
and.. That's it.
Test the service with
curl -I -k -L https://localhost:8443/orcid-web/signin
or simply browse to https://localhost:8443/orcid-web
Later we can stop or destroy the environment with
docker-compose stop
docker-compose down
docker-compose ps
- Read More tomcat/README.md