commit | a1d97145ecf12d94406b3ba6c8668e01803018d2 | [log] [tgz] |
---|---|---|
author | Juhan Aasaru <Juhan.Aasaru@nortal.com> | Wed Sep 04 15:27:13 2019 +0300 |
committer | Juhan Aasaru <Juhan.Aasaru@nortal.com> | Wed Sep 04 15:27:13 2019 +0300 |
tree | e7ae017f6d4ffa6fb6568ce45a3e03a6d7f5bacd | |
parent | 990b13c62c92e278ad5c96a667a1ae750110c8ba [diff] |
FINCN-165 based on https://github.com/openMF/fineract-cn-containers create docker-compose files that use official Apache Docker images
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.