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
Download the files from the link provided
Run MS SQL Server script to create InnowayIT DB
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.
Run following command to check if existing docker images for innowayit are running. First login to linux shell and redirect to root folder.
$ docker ps5. 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-feDeployment of Back end image
Login to Linux shell
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:
DB_HOST name should the network address of DB server e.g. http://hostname.domain.com
clientUrl is the server IP in this format http://0.0.0.0
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
Login to Linux shell
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
BACKEND_API_URL should the network address of server e.g. http://hostname.domain.com
Verification
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?