earl-jann / fintecheando-mifos-docker-ubuntu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mifos X 18.03.01 - Docker

Build the images (Run in their corresponding directory)

  1. Build the MIFOS X image
$ docker build -t com.mx.ecoglobalconsulting.tomcat.mifosx.18.03.01 .
  1. Build the MySQL image
$ docker build -t com.mx.ecoglobalconsulting.mysql.mifosx.18.03.01 .
  1. Build the SMS Server image
$ docker build -t com.mx.ecoglobalconsulting.activemq.mifosx.18.03.01 .
  1. Build the Web Server Nginx image

Ensure you have

npm installed - goto http://nodejs.org/download/ to download installer for your OS.
ruby installed - goto https://www.ruby-lang.org/en/documentation/installation/ to download latest version of ruby.


Note: On Ubuntu Linux you can use 'sudo apt-get install npm nodejs-legacy' (nodejs-legacy is required to avoid the ""/usr/bin/env: node: No such file or directory" problem).
Tip: If you are using Ubuntu/Linux, then doing npm config set prefix ~ prevents you from having to run npm as root.

$ docker build -t com.mx.ecoglobalconsulting.nginx.mifosx.18.03.01 .
  1. Run the Docker images using Compose
$ docker-compose -f mifos-stack-DEV.yml up
  1. Verify the running containers
$ docker ps | grep mifosx.18.03.01
588027cda597        ecoglobalconsulting/com.mx.fintecheando.mifosx.18.03.01            "/bin/sh -c /entrypo…"   41 minutes ago      Up 41 minutes       8080/tcp, 0.0.0.0:8443->8443/tcp                           ecoglobalconsultingmifosdockerubuntu_mifosx_1
0a4c69071ae0        ecoglobalconsulting/com.mx.fintecheando.mariadb.mifosx.18.03.01    "docker-entrypoint.s…"   41 minutes ago      Up 41 minutes       3306/tcp                                                   ecoglobalconsultingmifosdockerubuntu_db-server_1
3a4f14d027d2        ecoglobalconsulting/com.mx.fintecheando.activemq.mifosx.18.03.01   "/app/run.sh"            41 minutes ago      Up 41 minutes       1883/tcp, 5672/tcp, 8161/tcp, 61613-61614/tcp, 61616/tcp   ecoglobalconsultingmifosdockerubuntu_sms-server_1
  1. Login to Mifos using the Web UI with these credentials:

username: fincore password: password

https://localhost:8443/community-app/#/ (secure web access, but this is a self signed certificate and you will have a warning in your web explorer, just ignore it and continue)

  1. As note if you have any issue with the volumes and entry points remove the volumes (be careful, with this we are removing all of them, because it is running in our local DEV, don't do this in Production)
$ docker stop $(docker ps -a -q)
$ docker rm $(docker ps -a -q)
$ docker volume rm $(docker volume ls -q)

Reference

Issues with the reports

About


Languages

Language:HTML 56.0%Language:JavaScript 38.0%Language:CSS 5.0%Language:Python 0.9%Language:Dockerfile 0.1%Language:Shell 0.0%