Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
50 lines (36 loc) · 1.67 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.67 KB

Bamboo Log

js-standard-style

bamboo npm

Introduction

Bamboo is an IoT platfrom which is the product of three teams:

  • Nahal Corporation
  • Bambil Corporation
  • I1820 Platfrom Developers

Log

Log is any incoming data from sensors, Expected to be received periodically.

+------+    +-----------+    +----+
| Main | -> | BambooLog | -> | DB |
+------+    +-----------+    +----+

Up and Running

This component depends on influx db as permanent storage for logs. you can use docker version of this database with following command:

sudo docker run --rm --name=influx -ti -p 8086:8086 influxdb

After running influx you can run docker version of log component with env based configurations, or you can use plain version of log component with file based configurations.

Configuration

Environment Name JSON Name Description
BAMBOO_DATABASE_NAME database.name InfluxDB database name
BAMBOO_DATABASE_HOST database.host InfluxDB host address
BAMBOO_CONNECTIVITY_HOST connectivity.host Bamboo connectivity host address
BAMBOO_CONNECTIVITY_PORT connectivity.port Bamboo connectivity port number
BAMBOO_HTTP_HOST http.host HTTP server listening host
BAMBOO_HTTP_PORT http.port HTTP server listening port
BAMBOO_WINSTOND_HOST winstond.host Winstond host address
BAMBOO_WINSTOND_PORT winstond.port Winstond port number