Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 2.13 KB

README.md

File metadata and controls

59 lines (43 loc) · 2.13 KB

Dashboard

Creating the docker image with the preloaded dashboards

First build the image with:

docker build -f ori-dashboard/image/Dockerfile -t syntifi.com/ori/ori-dashboard ori-dashboard/image

Then run the container either using:

docker run -i --rm -p 8088:8088 \
            -e SUPERSET_ADMIN_USER_NAME='admin' \
            -e SUPERSET_ADMIN_FIRST_NAME='admin' \
            -e SUPERSET_ADMIN_LAST_NAME='admin' \
            -e SUPERSET_ADMIN_EMAIL='[email protected]' \
            -e SUPERSET_ADMIN_PASSWORD='admin' \
            -e ORI_POSTGRES_USER='ori_db_user' \
            -e ORI_POSTGRES_PASSWORD='ori_db_pwd' \
            -e ORI_POSTGRES_HOST='localhost' \
            -e ORI_POSTGRES_PORT='5432' \
            -e ORI_POSTGRES_DB='ori_db' \
            syntifi.com/ori/ori-dashboard

Or using docker-compose:

docker-compose -f ori-dashboard/docker/docker-compose.yml up -d

Use case

Once the service is up and running one should see the following login screen when accessing http://localhost:8088:

Login

login: admin
password: admin

After the login, the landing page should already be pre-populated as follows: Langing page

By clicking on Transaction Monitor one should see the following dashboard containing the following elements:

  1. A coin flow chart at the middle
  2. A table with the top 10 incoming and outgoing transactions
  3. The total amount transacted and the total number of transactions
  4. A filter on the left hand side

Monitor

After applying the filter (as seen below), and clicking on apply filters, the data and charts should update to the new dataset.

Note: If no filter is applied, the dashboard shows the information for the last 100 transactions in the database

Monitor filter