Coder Social home page Coder Social logo

devicehive-docker's Introduction

Description

DeviceHive is an Open Source IoT Data Platform which helps to connect devices to the cloud in minutes allowing to stream device data and send commands. DeviceHive is highly scalable through containerization. You can run a DeviceHive stack with single instance of each component, then scale up by adding additional Frontend, Backend, Kafka and ZooKeeper instances. And finally attach Apache Spark analytics to Apache Kafka.

Installation

Docker-compose installation

The easiest way to try DeviceHive locally or in your development datacenter is to deploy it using Docker Compose.

This will start complete DeviceHive service stack running:

  • DeviceHive Frontend
  • DeviceHive Backend
  • Hazelcast IMDG
  • Zookeeper
  • Kafka
  • PostreSQL
  • Admin console

More details in the rdbms-image subdirectory.

System requirements for docker-compose installation

  • 4 CPU cores
  • 8 GB of RAM
  • At least 16 GB of disk space for OS and Docker data (images, volumes, etc). On CentOS 7 it better to have additional 10 GB disk for Docker data.
  • Linux distribution that fully support containers. Like CentOS 7, Fedora 24 and newer, Ubuntu 14.04 and later
  • Docker version 1.13 and later
  • Docker-compose version 1.12 and later

Installation was tested on machine with CentOS 7 distribution.

Kubernetes installation

DeviceHive can be installed on Kubernetes with provided Helm chart. This chart also installs PostgreSQL chart and Kafka chart from Kubeapps repositories. External installations of PostgreSQL and Kafka are not supported at the moment.

Previous installation method on Kubernetes using a kubectl utility and a plain YAML files are deprecated now. Please issue a ticket in our GitHub repository if you have questions about mirgating such environment to the one deployed with Helm chart.

Installation on Docker for Windows or Docker for Mac

If you like to try DeviceHive using Docker for Windows or Docker for Mac, please note that this software runs Docker in special Virtual Machine (that got automaticaly created for you by installer). By default these Virtual Machines with much lower parameters that required for DeviceHive, 2GB of RAM and 2 vCPU. Here is example of how to change parameters in Docker for Windows, on Macs this should be similar:

  1. Right-click on Docker icon in system tray and choose 'Settings...'.
  2. Open 'Advanced' settings and increase CPUs and Memory parameters to recommended values.
  3. Click 'Apply' button. VM will be restarted with new parameters.

devicehive-docker's People

Contributors

sitnik avatar demon-xxi avatar tmatvienko avatar astaff avatar yuryoff avatar natalia-chikina avatar jvovk avatar apanevin avatar dendec avatar amedviediev avatar nikolay-kha avatar spiritbreaker avatar vikua avatar

Watchers

 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.