This project contains Docker Compose Scripts for running Fineract CN especially in Development.
java -cp external_tools/lang-0.1.0-BUILD-SNAPSHOT.jar org.apache.fineract.cn.lang.security.RsaKeyPairFactory UNIX > .env
This library is taken from fineract-cn-lang. If needed you can pull a fresh copy of it:
wget https://mifos.jfrog.io/mifos/libs-snapshot-local/org/apache/fineract/cn/lang/0.1.0-BUILD-SNAPSHOT/lang-0.1.0-BUILD-SNAPSHOT.jar lang-0.1.0-BUILD-SNAPSHOT.jar
cat env_variables >> .env
If you run some service from localhost then you need to change the host parameter to ‘localhost’ of that service in .env file.
cd external-tools docker-compose up
In the docker-compose.yml (that resides in project root) comment out the services you don't want to run. Running all services together consumes a lot of memory.
In project root directory run:
docker-compose up
There are some scripts in https://github.com/openMF/fineract-cn-containers that have been developed in the past for this purpose.