Deployment on Docker

Docker is

an open-source project that automates the deployment of software applications inside containers by providing an additional layer of abstraction and automation of OS-level virtualization on Linux. --Wikipedia

InnowayIT application can be deployed on docker. Following are the relevant information for this purpose.

Pre-requisites

  1. Download the files from the link provided

  2. Run MS SQL Server script to create InnowayIT DB

  3. The default schema for deploying innowayit database objects is "innowayit". This schema should be the default schema for the database user specified in DB _USER parameter below.

  4. Run following command to check if existing docker images for innowayit are running. First login to linux shell and redirect to root folder.

$ docker ps

5. If any existing image are running you should stop and remove them as follows:

$ docker stop backend
$ docker rm backend
$ docker stop innowayit-fe
$ docker rm innowayit-fe

Deployment of Back end image

  1. Login to Linux shell

  2. Convert tar file to an image file with the following command:

3. Start back-end container with following command. Replace parameters in <> with actual values

Notes:

  1. DB_HOST name should the network address of DB server e.g. http://hostname.domain.com

  2. clientUrl is the server IP in this format http://0.0.0.0

  3. DB_PORT is the port number on which SQL Server is listening. Default is 1433 but it is often changed to enhance security

Deployment of Front end

  1. Login to Linux shell

  2. Convert tar file to an image file with the following command:

3. Start front-end container with following command. Replace parameters in <> with actual values:

Notes

  1. BACKEND_API_URL should the network address of server e.g. http://hostname.domain.com

Verification

  1. Run following command:

It will return the list of two running containers

2. Start Chrome web browser and enter the frontend(innowayit-fe) container’s ip address or domain address (e.g. innowayit.com.rid or 127.0.0.1). The login page should popup

Last updated

Was this helpful?