FINERACT-845

Integrate community-app in fineract docker build
This commit is contained in:
xurror
2020-05-02 12:21:31 +02:00
committed by Michael Vorburger ⛑️
parent ede38dc8fa
commit 9184f5975f
2 changed files with 14 additions and 1 deletions
+4 -1
View File
@@ -80,6 +80,8 @@ Instructions to run using Docker and docker-compose
===================================================
It is possible to do a 'one-touch' installation of Fineract using containers (AKA "Docker").
Fineract now packs the mifos community-app web ui in it's docker deploy.
You can now run and test fineract with it a GUI directly from the combined docker builds.
As Prerequisites, you must have `docker` and `docker-compose` installed on your machine; see
[Docker Install](https://docs.docker.com/install/) and
@@ -94,7 +96,8 @@ Now to run a new Fineract instance you can simply:
1. `git clone https://github.com/apache/fineract.git ; cd fineract`
1. `docker-compose build`
1. `docker-compose up -d`
1. Fineract will run at https://localhost:8443/fineract-provider now!
1. Fineract will run at https://localhost:8443/fineract-provider/ now!
1. community-app + Fineract will run at http://localhost/?baseApiUrl=https://localhost:8443/fineract-provider/
The [`docker-compose.yml`](docker-compose.yml) will build the `fineract` container from the source based on the [`Dockerfile`](Dockerfile).
+10
View File
@@ -20,6 +20,7 @@
# (unless we'd install a more recent version in .travis.yml)
version: '3.3'
services:
# Backend service
fineractmysql:
image: mysql:5.7
volumes:
@@ -55,6 +56,15 @@ services:
- FINERACT_DEFAULT_TENANTDB_UID=root
- FINERACT_DEFAULT_TENANTDB_PWD=skdcnwauicn2ucnaecasdsajdnizucawencascdca
# Frontend service
community-app:
image: openmf/community-app:latest
container_name: mifos-ui
restart: always
ports:
- 80:80
# https://issues.apache.org/jira/browse/FINERACT-762
# To use an altnerative JDBC driver (which is faster, but not allowed to be default in Apache distribution)
# replace org.drizzle.jdbc.DrizzleDriver with com.mysql.jdbc.Driver in DRIVERCLASS_NAME and fineract_tenants_driver,