openMF / fineract-cn-containers

Repository to house the Docker and Kubernetes scripts for containerization.
11 stars 24 forks source link

Fineract CN container scripts

Join the chat at https://gitter.im/mifos-initiative/mifos.io

Prequisite

You should have successfully built the Fineract CN microservice. Ensure the artifacts are located in $USER_HOME/.m2/repository/org/apache/fineract/cn/

Requirements

Procedure

Starting up the Fineract Microservices

Run migration_script.sh bash migration_script.sh

- Using Docker-compose

  1. Run the start-up.sh script to start the microservices (N.B: Make sure your local database instances are down) bash start-up.sh
  2. Run the shut-down.sh script to shut-down the microservices bash shut-down.sh

- Using Kubernetes

  1. Change directory into the kubernetes-script directory cd kubernetes-scripts
  2. Run the external tools first, i.e Activemq, Eureka, Cassandra, Maria DB kubectl apply -f <tool file name>
  3. Now run all the fineract microservices kubectl apply -f <service file name>

Provision the Fineract Microservices

  1. Run the provision.sh script to provision the system.

    bash scripts/provision.sh config.text

    N.B: You can update the configuration of the difference services in the config.txt file