Devaten

Docker For Middleware

Pre-requisite #

  • You can integrate the Middleware application with our Saas and On-premise. If you want to use SaaS then first do the registration and use with On-premise then download the code from our Github R epository.
  • If you want to run the Middleware and On-Premise Docker-Compose Locally you have to change the HTTP URL with your system IP with port 8081 in the middleware.env file.
    E.g. APP_HOST=”http://127.0.0.1:8081

How to Install #

Firstly Clone the Middleware file from Github using following command.

git clone https://github.com/devatengit/devaten-middlewareapp.git

Folder Structure #

Step 1 ] Open grafana-data folder

Step 2] Open datasource folder

Step 3] Open datasource.ysf file

Step 4] Enter your host IP address in this file.

How to Configure #

Folder Structure

Step 1] Open middleware.env file.

Make below changes in middleware.env file

SITE_TITLE=Test Site

APP_HOST=”http://localhost1:8081″
(if you use devaten sass then url should be https://app.devaten.com if you are use On-premise Docker-Compose Locally you have to change the HTTP URL with your system IP with port 8081(http://127.0.0.1:8081/) in the middleware.env file. )
LOGIN_USER_NAME=”Enter Dahshboard username”
PASSWORD=”Enter Dashboard password”

RECORDING_MAIL=”whenFailure”
EXPLAIN_JSON=”enable”
JIRA=”disabled”
REPORT=”enable”
SCRAP_INTERVAL_TIME=”10″

Add into your configure file your IP address where docker is running.

Example; ipconfig

IPv4 Address.: 192.168.1.9

–> APP_HOST=”http://192.168.1.9:8081″

After the change verify Devaten is running on this same address. http://192.168.1.9:8081

How to Run #

  • To install the middleware locally, you must have docker and docker compose installed and do the following:
  • Download the docker compose file from the release.
  • Open the directory in a terminal where the docker compose file is.
  • Write the following command:

docker-compose pull

This will download the docker images locally.

To start program open a terminal and navigate to the folder containing the docker compose file.

Write following command:

docker-compose up