Microservices
Updated On 24 March 2024 | Min(s) read

Installing Aggregation Microservice in Docker

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

Deployment of Account Aggregation Microservice in Docker

Follow the steps below to deploy the Account Aggregate Catalog in docker:

MySQL Database

  • Unzip the ms-accountaggregation-package-docker-<release_number>.zip.
  • The extracted package contains the configuration files for the docker and the respective bat and sh files.
  • To get your Microservice up and running, execute the below command which creates an image and docker container for the image:
    • For Windows: accountaggregation.bat up --build -d
    • For Linux: accountaggregation.sh up --build –d
  • Once the accountaggregation microservice is up and running in docker, check the APIs in the package by running the below command.
  • Post running the above command, use docker "ps –a" to check if the containers are running. 

URL of API's follows the below structure:

Undeployment

To stop and remove the existing container, execute the below command from the location where the accountaggregation docker is started.

  • For Windows: accountaggregation.bat down
  • For Linux: accountaggregation.sh down

MSSQL Database

  • Unzip the ms-accountaggregation-package-docker-<release_number>.zip.
  • The extracted package contains the configuration files for the docker and the respective bat and sh files.
  • To get your Microservice up and running, execute the below command which creates an image and docker container for the image:
    • For Windows: accountaggregation-mssql.bat up --build -d
    • For Linux: accountaggregation-mssql.sh up --build –d
  • Once the accountaggregation microservice is up and running in docker, check the APIs in the package by running the below command.
  • Post running the above command, use docker "ps –a" to check if the containers are running. 

URL of API's follows the below Installing Notifications Microservice in Azure structure:

Undeployment

To stop and remove the existing container, execute the below command from the location where the accountaggregation docker is started.

  • For Windows: accountaggregation-mssql.bat down
  • For Linux: accountaggregation-mssql.sh down

Oracle Database

  • Unzip the ms-accountaggregation-package-docker-<release_number>.zip.
  • The extracted package contains the configuration files for the docker and the respective bat and sh files.
  • Build docker image for oracle db.
  • Add the Database properties in accountaggregation-oracle.yml file. Host can be host.docker.internal or the host_Ip.

    E xample: jdbc:oracle:thin:@host.docker.internal:51521/ORCLPDB1 or, jdbc:oracle:thin:@//10.94.2.28:51521/ORCLPDB1

  • To get your Microservice up and running, execute the below command which creates an image and docker container for the image:
    • For Windows: accountaggregation-oracle.bat up --build -d
    • For Linux: accountaggregation-oracle.sh up --build –d
  • Once the accountaggregation microservice is up and running in docker, check the APIs in the package by running the below command.
  • Post running the above command, use docker "ps –a" to check if the containers are running. 

URL of API's follows the below structure:

Undeployment

To stop and remove the existing container, execute the below command from the location where the accountaggregation docker is started.

  • For Windows: accountaggregation-oracle.bat down
  • For Linux: accountaggregation-oracle.sh down

PostgreSQL Database

  • Unzip the ms-accountaggregation-package-docker-<release_number>.zip.
  • The extracted package contains the configuration files for the docker and the respective bat and sh files.
  • To get your Microservice up and running, execute the below command which creates an image and docker container for the image.
    • For Windows: accountaggregation-postgresql.bat up --build -d
    • For Linux: accountaggregation-postgresql.sh up --build –d

    Once the accountaggregation microservice is up and running in docker, check the APIs in the package by running the below command:

    Use “docker ps –a” to check if the containers are running.

    URL of API's follows the below structure:

    Undeployment

To stop the Microservice and remove the docker containers, execute the below command:

  • For Windows: accountaggregation-postgresql.bat down
  • For Linux: accountaggregation-postgresql.sh down

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, September 2, 2025 1:05:49 PM IST