Deploy Document Storage in Docker Container

The Document Storage microservice is provisioned for deployment in the Docker container.

Artifacts

The Document Storage microservice deployment for a Docker container is available as a single release bundle file ms-document-package-docker-DEV.0.0-SNAPSHOT.zip.

Before you deploy the package, you should:

Deploy

To deploy the Document Storage microservice:

  1. Unzip the ms-document-package-docker-<release_number>.zip
  2. Check the extracted package contains the configuration files for the docker and the respective bat and sh files
  3. Navigate from the command prompt to the directory where the .bat and .sh files are available.
  4. Execute the below command which creates an image and docker container for the image:
  5. For Windows : ms-document.bat up --build -d

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

  6. Once the microservice is up and running in docker, check the APIs of the package. The API URL follows this pattern:

    Base Path: http://<IP_ADDRESS>:<PORT>/<context-root>/api/<version>/ For Example: http://localhost:8010/ms-document-api/api/v0.8.0/

    Resource path of the endpoint can be found in the Swagger JSON file.

Undeploy

To undeploy the Document Storage microservice:

  1. Execute the below command from the location, where the party docker is started, to stop and remove the existing container.
  2. For Windows : ms-document.bat down

    For Linux : ms-document.sh down


Bookmark Name Actions
Feedback
x