commit | fb8b48b92b80b69f4dddc90b19bc90538e049fee | [log] [tgz] |
---|---|---|
author | Courage Angeh <courageangeh@gmail.com> | Thu Sep 05 01:01:42 2019 -0400 |
committer | GitHub <noreply@github.com> | Thu Sep 05 01:01:42 2019 -0400 |
tree | 2ce1c9b10a810c5800a5f737d995512e8b5f63bb | |
parent | 990b13c62c92e278ad5c96a667a1ae750110c8ba [diff] | |
parent | 0493f9353de9ab9f8bfa2bd54e15ce99d496b58b [diff] |
Merge pull request #1 from aasaru/perepare_docker_compose FINCN-165 Perepare docker compose scripts using official images
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.