izendainc/izenda-bi-api

By izendainc

Updated about 4 years ago

A Standalone BI Portal API of Izenda Series 7

Image
0

10K+

izendainc/izenda-bi-api repository overview

Standalone BI Portal API of Izenda Series 7

Environment Variables

  • DB: The database type string. It should be one of supporting database types (mssql, azuresql, mysql, oracle, postgre)
  • CONSTRING: The connection string to the Izenda configuration database

Linux/Mac OS

Prerequisite
  • Docker
  • Make sure ports in following YML can not be override and server should have free ports defined in YML.
How to run

Typically this Docker image will be running along with izendainc/izenda-bi-web using docker compose

Step 1

Create a docker-compose.yml file with following content

version: '3'
services:
  web:
    image: izendainc/izenda-bi-web:latest
    environment:
      - APIURL=http://localhost:8001/api/
    ports:
      - '8000:8000'
    depends_on:
      - api
  api:
    image: izendainc/izenda-bi-api:latest
    environment:
      - DB=postgre
      - CONSTRING=Host=postgresdb;Port=5432;Database=postgres;User Id=postgres;Password=docker
    ports:
      - '8001:8001'
    links:
      - postgresdb
  postgresdb:
    image: postgres:alpine
    environment:
      - POSTGRES_PASSWORD=docker
    volumes:
      - $HOME/docker/volumes/postgres:/var/lib/postgresql/data
    ports:
      - '5432:5432'
networks:
  default:
    driver: bridge
Step 2

Open command prompt at the same location with above docker-compose.yml Run the following command

docker-compose up

It runs the Izenda BI portal locally at port 8000

Windows

Prerequisite
  • Windows 10 /Server 2016 or higher
  • Docker for Windows
  • Make sure ports in following YML can not be override and server should have free ports defined in YML.
How to run

Typically this Docker image will be running along with izendainc/izenda-bi-web using docker compose

Step 1

Create a docker-compose.yml file with following content

version: '3'
services:
  web:
    image: izendainc/izenda-bi-web:latest
    environment:
      - APIURL=http://localhost:8081/api/
    ports:
      - '8080:8080'
    depends_on:
      - api
  api:
    image: izendainc/izenda-bi-api:latest
    environment:
      - DB=mssql
      - CONSTRING=<Connection string to Izenda configuration database>
    ports:
      - '8081:8081'
networks:
  default:
    external:
      name: nat
Step 2

Open command prompt at the same location with above docker-compose.yml Run the following command

docker-compose up

It runs the Izenda BI portal locally at port 8080

Step 3

Browse to http://localhost:8080 to open Izenda BI portal.

Note that you can use "docker.host.internal" as the predefined Docker hostname alias of your local host machine in connection string to local host database

Tag summary

Content type

Image

Digest

Size

489.6 MB

Last updated

about 4 years ago

docker pull izendainc/izenda-bi-api