Installing Holdings Microservice in Docker

This section helps you to install the Holdings Microservice in Docker.

  1. Install Docker Engine in your deployment environment (See Docker Engine installation).
  2. Copy the generated zip file (from target folder) to the installation directory.
  3. Extract the zip file.
  4. To run the microservice, execute the below command for creating images and Docker container for that image.
    • For Windows  :  holdings.bat up --build -d
    • For Linux        :  holdings.sh up --build -d
  5. Confirm that all below docker instances have started successfully by executing docker ps -a.

Exception Handling

If any exception occurs and you are not able to connect to mongo db, then

  1. Go to the path ...\Holdings-Docker\db\mongo\init\mongo_setup.sh.

  2. Open the mongo_setup.sh file and ensure it's in UNIX(LF) format , if its in windows(CR LF) format change it to unix, and down and up the package.

Bookmark Name Actions
Feedback
x