Giter Site home page Giter Site logo

quick-ming's Introduction

Quick MING Setup

This repository provides a rapid deployment setup for the MING stack: MQTT, InfluxDB, Node-RED, and Grafana. Designed for simplicity, this environment is containerized using Docker and orchestrated with docker-compose.

Prerequisites

Before you begin, ensure you have the following:

  • Docker and Docker Compose installed on your system.
  • A fundamental understanding of Docker and containerization concepts.

Project Structure

Quick MING/
│
├── mosquitto               # MQTT Broker configurations
│   ├── Dockerfile
│   └── ...
│
├── node-red                # Node-RED configurations and flows
│   ├── Dockerfile
│   └── ...
│
├── .env                    # Environment variables for services
└── docker-compose.yaml     # Docker Compose configuration

Setting Node-Red Password Using bcrypt

Node-Red requires the use of bcrypt for hashing passwords. To generate a bcrypt hash:

  • Visit an online bcrypt generator, like bcrypt.online.

  • Enter your desired password and select a Cost Factor. Generate the hash by clicking Generate Hash.

  • Copy the generated hash into the .env file for the NODE_RED_PASSWORD. Use single quotes around the hash (e.g. generatedhash'). This is important because Docker Compose interprets $ as a special character for variable substitution.

Configuration

  1. Clone the repository:

    git clone https://github.com/DMDuFresne/Quick-MING.git
  2. Rename example.env to .env and configure the environment variables according to your setup.

  3. Ensure ports in docker-compose.yaml are not in use or change them accordingly.

Usage

  1. Start the environment by running:

    docker-compose up -d --build
  2. Use the stack to build whatever you want.

Services

The stack includes:

  • Mosquitto: MQTT broker on port 1883.

  • InfluxDB: Time-series database on port 8086.

  • Node-RED: Wiring tool for devices and online services on port 1880.

  • Grafana: Monitoring and observability platform on port 3000.

  • Telegraf: An agent for collecting, processing, aggregating, and writing metrics.

Attribution

This project is possible thanks to the use and support from the following open-source projects:

  • Eclipse Mosquitto: A reliable and lightweight MQTT broker.

  • InfluxDB: A purpose-built database designed to handle time-stamped data at scale.

  • Node-RED: A visual tool for wiring the Internet of Things.

  • Grafana: An analytics platform for all your metrics.

  • Telegraf: A server agent to collect metrics.

  • mpous/ming: The MING stack as used in this project is inspired by the work done by Marc Pous.

Each tool brings unique capabilities to any project, and their combination allows for a robust data monitoring solution. For their individual licensing terms, please refer to their respective websites or documentation.

quick-ming's People

Contributors

dmdufresne avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.