An open API service indexing awesome lists of open source software.

https://github.com/openmf/fineract-cn-containers

Repository to house the Docker and Kubernetes scripts for containerization.
https://github.com/openmf/fineract-cn-containers

Last synced: about 1 year ago
JSON representation

Repository to house the Docker and Kubernetes scripts for containerization.

Awesome Lists containing this project

README

          

# Fineract CN container scripts

[![Join the chat at https://gitter.im/mifos-initiative/mifos.io](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mifos-initiative/mifos.io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## 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**
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 `
3. Now run all the fineract microservices
`kubectl apply -f `

### 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