Coder Social home page Coder Social logo

orcid-docker's Introduction

Deploy ORCID with DOCKER

This project uses docker containers to startup JavaEE PostgreSQL web application. The local environment will be available at localhost

Install docker community edition

Follow install instructions at Docker

Install docker compose

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.

Startup orcid-web with docker compose

Download this container wrapper

git clone https://github.com/ORCID/orcid-docker.git
cd orcid-docker

Prepare orcid-web java web application

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

Run

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 web app

Test the service with

curl -I -k -L https://localhost:8443/orcid-web/signin

or simply browse to https://localhost:8443/orcid-web

Shutdown your local environment

Later we can stop or destroy the environment with

docker-compose stop
docker-compose down
docker-compose ps
  • Read More tomcat/README.md

orcid-docker's People

Contributors

jpeerz avatar rcpeters avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.