Skip to content

erikriver/activitystreams-realtime

Repository files navigation

Project

This is an experiment that tries to know the scope of Elasticsearch as a hot storage implemented for IoT monitoring.

Open Distro for Elasticsearch with MQTT

For development purposes there is an docker-compose file with Open Distro for Elasticsearch stack and MQTT running in Docker.

Usage with docker-compose

Start the environment:

docker-compose -f docker-compose.yml -f docker-compose.mqtt2es.yml up

Open Kibana Web interface:

http://localhost:5601/

Open Distro for Elasticsearch with Traefik and MQTT

To deploy to production, there are docker-compose files with Open Distro for Elasticsearch stack running in Docker with Traefik as Reverse Proxy. Traefik handles traffic to Kibana Web Interface. Elasticsearch persist it's data to Docker volume. Health checks of the Kibana and Elasticsearch services is also included.

Usage with docker-compose in production

Note: you must replace the domain kibana.mysite.com in files docker-compose-production.yml and traefik.toml

Create docker network for traefik:

docker network create traefik-network

Start the environment:

docker-compose -f docker-compose.prod.yml -f docker-compose.mqtt2es.yml up

Open Kibana Web interface or Traefik Dashboard using the address:

http://kibana.mysite.com/
http://kibana.mysite.com:8080/

Kibana uses initial username admin and password admin

Releases

No releases published

Packages

No packages published