Link Search Menu Expand Document

Web Application

Table of contents
  1. How to set up the Web Application
    1. Run the web app template
    2. Security settings

How to set up the Web Application

Elqano is using an Azure App service in an Azure App service plan to run the web application.

It will rely on Docker containers running via docker-compose on a Linux operating system.

To configure it easily, we are providing a pre-configured template.

By default it will create the Web App service and the Plan with the following properties:

PropertyValue
Operating SystemLinux
Pricing TierProduction P2v2
Deploy typeDocker compose with Docker containers stored on Elqano’s registry

Edit the template if you need specific setings.

Run the web app template

To use the template, navigate to the Custom deployment service of Azure and select Build your own template in the editor

Copy the following template in the editor and click on the Save button.

The following form will appear:

Configure the Web App

  • Select, the subscription, the Resource Group and the Location

  • Provide the following parameters

(Copy them in a safe place, they will be useful for the next steps of the process)

ParameterValueNote
Web_app_nameName of the Azure App serviceChange it to something like elqano-YOURCOMPANY
Web_app_plan_nameName of the Azure App service planChange it to something like elqano-YOURCOMPANY-plan
Docker_registry_passwordPassword to connect to the docker registry*
Admin_area_passwordPassword of the admin account 
Admin_area_usernameUser name of the admin account 
Storage_nameName of the Azure Storage service§
Storage_container_nameName of the Azure Storage container§
Rails_secret_keySecret key for Elqano session encoding*
Rails_secure_attributeSecret key for encrypted DB attributes*
Server_postgres_nameName of the PostgreSQL server§
Server_postgres_admin_loginAdmin login of the PostgreSQL server§
Server_postgres_admin_passwordPassword of the PostgreSQL server§
Service_redis_nameName of the Redis server§
Elastic_search_urlUrl of the Elastic Search service§
Elastic_search_keySecret write key for the Elastic Search App search service§
Elastic_search_engineName of the default Elastic Search App search engine§

§: Configured in the previous steps of the doc

*: will be provided by Elqano IT team

  • Accept the terms and click on Purchase and wait for the end of the creation process.

  • Once deployed, navigate to the new App service, click on “Container settings” on the left.

  • On this page:

    • Select “Private registry”
    • Upload the docker-compose file in the App service
    • Add “https://elqanoqa.azurecr.io” as Server URL
    • “elqanoqa” as Login
    • The provided “Docker_registry_password” as password
    • Click on “Save”

Security settings

Once the app service is configured, please follow the steps described in the Security settings documentation to whitelist the IP addresses on other components.