Skip to content

Cardiff University's School of Computer Science and Informatics located in newly constructed building called 'Abacws'. Abacws is smart building build with of several smart devices, sensors and technologies. This repository provides API and Visualization of all sensors real time and historical data information.

License

Notifications You must be signed in to change notification settings

suhasdevmane/Abacws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abacws Data Visualiser

Web application made to visualise IoT data for devices in the Abacws building at Cardiff University.
This repository contains the API and the Visualiser tool, both of which are deployed using docker.

Production deployments for these tools can be found at the following locations:

Docs

You can view the documentation for the two separate services in their respective README files.

Docker compose

I recommend using docker compose to deploy this to your own server alongside traefik.
An example compose file can be seen below.

version: '3.8'
services:
  mongo:
    image: mongo
    container_name: abacws-mongo
    restart: always
    volumes:
      - ./mongo:/data/db

  api:
    image: ghcr.io/randomman552/abacws-data-vis:api-latest
    container_name: abacws-api
    restart: always
    depends_on:
      - mongo

  visualiser:
    image: ghcr.io/randomman552/abacws-data-vis:visualiser-latest
    container_name: abacws-visualiser
    restart: always
    depends_on:
      - api
    # Traefik is recommended, you can set up a NGINX or Apache proxy instead, but traefik is much easier.
    labels:
      - "traefik.enable=true"
      - "traefik.http.services.abacws-visualiser.loadbalancer.server.port=80"
      - "traefik.http.routers.abacws-visualiser.rule=Host(`visualiser.abacws.example.com`)"
      - "traefik.http.routers.abacws-visualiser.entrypoints=https"
      - "traefik.http.routers.abacws-visualiser.tls=true"

Supported tags

Tag Description
visualiser-latest Production ready visualiser
visualiser-main Development visualiser
visualiser-vx.y.z Specific visualiser version
api-latest Production ready API
api-main Development API
api-vx.y.z Specific API version

About

Cardiff University's School of Computer Science and Informatics located in newly constructed building called 'Abacws'. Abacws is smart building build with of several smart devices, sensors and technologies. This repository provides API and Visualization of all sensors real time and historical data information.

Resources

License

Stars

Watchers

Forks

Packages