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-autoform.bat up --build -d

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

    Script

    Description

    ms-document-autoform.bat Run this script to deploy all Microservice components with EFS autoform as the DMS system.
    ms-document-autoform.sh
  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:8000/ms-document-api/api/v1.0.0/

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

Undeploy

To undeploy the Document Storage microservice:

  1. Stop and remove the existing container.
  2. Execute the below command from the location, where the document docker is started.
  3. For Windows :ms-document-autoform.bat down depending on which vendor you've chosen to start earlier.

    For Linux :ms-document-autoform.sh down depending on which vendor you've chosen to start earlier.


Field Name
|
Application/Table name

Temenos Headquarters SA
2 Rue de l'Ecole-de-Chimie
CH - 1205 Geneva
Switzerland

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, May 23, 2023 9:33:47 PM IST