Overview:

The topic intends first time step by step process for manual deployment of IDHUB in a docker based environment 


Prerequisite:

Docker environment

Ansible


Steps:

Step1: Clone the project branch


Create a directory for our installation process, for example we will create a directory named apps

mkdir apps
BASH

Go to apps directory

cd apps/
BASH


To clone the project branch into the folder, enter the command

git clone -b <branch name> https://git.sath.com/idhub/builder.git
BASH


It will prompt for the username and password for Git, Enter the details and it will clone the project branch


After the credentials are entered the cloning is completed


Step2: Build Docker-compose file 

  • A new directory is created inside apps, named builder 
  • Go to builder directory
cd /apps/builder
BASH


Execute ansible-playbook inside builder directory, this will create a directory "out" with our docker file required for our installation

ansible-playbook build-docker.yml
BASH


Step3: Run Docker-compose file

  • Execute docker-compose.yml file inside out directory which will fetch all the necessary docker images with required micro services 
  • Go to out directory
cd /apps/builder/out
BASH


docker-compose up -d
BASH


The process will take a while to complete on the first time of installation, after completing all the services will be up and running