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.
- Host: GitHub
- URL: https://github.com/openmf/fineract-cn-containers
- Owner: openMF
- Created: 2018-09-13T21:47:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:45:19.000Z (over 2 years ago)
- Last Synced: 2024-05-01T11:36:33.141Z (about 2 years ago)
- Language: Shell
- Size: 43.1 MB
- Stars: 10
- Watchers: 14
- Forks: 26
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fineract CN container scripts
[](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