Fineract CN container scripts
January 2, 2019 ยท View on GitHub
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
- Docker
- Docker-compose or Kubernetes (Preferably Google Container Engine)
Procedure
Starting up the Fineract Microservices
Run migration_script.sh
bash migration_script.sh
- Using Docker-compose
- Run the start-up.sh script to start the microservices
(N.B: Make sure your local database instances are down)
bash start-up.sh - Run the shut-down.sh script to shut-down the microservices
bash shut-down.sh
- Using Kubernetes
- Change directory into the kubernetes-script directory
cd kubernetes-scripts - Run the external tools first, i.e Activemq, Eureka, Cassandra, Maria DB
kubectl apply -f <tool file name> - Now run all the fineract microservices
kubectl apply -f <service file name>
Provision the Fineract Microservices
-
Run the provision.sh script to provision the system.
bash scripts/provision.sh config.textN.B: You can update the configuration of the difference services in the config.txt file