Deploy Receipting Microservice in Docker Container

The Receipting microservice is provisioned for deployment in a Docker container.

Deployment artifacts

The receipt microservice for docker deployment is available as a single release bundle ms-receipt-package-docker-<release.xxx>.zip

Installation steps for Docker

  1. Copy the zip file into the installation directory. Unzip it.
  2. To get your microservice up and running, execute the below command which creates an image and docker container for the image.
  3. For Windows : ms-receipt.bat up --build -d

    For Linux : ms-receipt.sh up --build –d

  4. Post running the above command, use “docker ps –a” to check the containers are running.

For Integrated Testing, we need the Eventstore MS and Document MS up and running

Follow the below steps for installation:

  1. Unzip the EventStore bundle ms-eventstore-package-docker-<release.xxx>.zip
  2. Start the eventstore microservice using the below command.
  3. For Windows : ms-eventstore.bat up --build -d

    For Linux : ms-eventstore.sh up --build –d

  4. Unzip the Receipt bundle ms-receipt-package-docker-<release.xxx>.zip
  5. Start the receipt microservice using the below command.
  6. For Windows : ms-receipt.bat up --build -d

    For Linux : ms-receipt.sh up --build –d

  7. Unzip the Document bundle ms-document-package-docker-<release.xxx>.zip
  8. Start the document microservice using the below command.
  9. For Windows : ms-document.bat up --build -d

    For Linux : ms-document.sh up --build –d

(Ensure the kafka.yml file is removed from bat/sh file, sample screenshot below)

 


Bookmark Name Actions
Feedback
x