Commit eea24ec3 authored by Idriss Neumann's avatar Idriss Neumann
Browse files

Add mirroring and build docker

parent bc7f330c
Pipeline #3612 failed with stages
in 5 seconds
- mirror
- publish
stage: mirror
- setsid ./ci/
- /^(main.*)$/
- veggieoss
stage: publish
- setsid ./ci/ "flow" "1.0"
- /^(main.*)$/
- src/*
- Dockerfile
- docker-compose-build-arm.yml
- ci/
- .gitlab-ci.yml
- buildarm
# Humidity and temperature sensor
This project aims to collect the data from a flow sensor plugged in a raspberrypi and index those data into Elasticsearch and make some alerts with elastalert.
The elasticstack images used are available [here]( in opensource too.
This project is used by the []( project.
## Table of content
## Git repository
* Main repo:
* Github mirror backup:
* Gitlab mirror backup:
## Run locally using docker-compose
Pick the [docker-compose.yml](./docker-compose.yml) file and follow the steps below.
### Run elasticsearch
$ docker-compose up -d es01
Then wait until it answer on the 9200 port (you can check the logs with `docker logs veggie_es01`):
$ curl localhost:9200
"name" : "elasticsearch",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "v22OI4ILQZ-xfmlArtmHUw",
"version" : {
"number" : "7.10.2",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "747e1cc71def077253878a59143c1f785afa92b9",
"build_date" : "2021-01-13T00:42:12.435326Z",
"build_snapshot" : false,
"lucene_version" : "8.7.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
"tagline" : "You Know, for Search"
### Run Kibana
$ docker-compose up -d kib01
Then wait until the UI of Kibana is loading on (you can change the ip by your local network ip if you want to load the Kibana UI from another computer and you can check the logs with `docker logs veggie_kib01`).
### Run the service
$ docker-compose up -d vflow01
Then you can check the logs with `docker logs veggie_vflow01` and check the data on Kibana!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment