Sign inSign up

iotcrawler/metadata-repository

By iotcrawler

•Updated about 6 years ago

A NGSI-LD context broker based on Scorpio

Image
0

3.2K

iotcrawler/metadata-repository repository overview

The MetaData Repository is the core component of the architecture of IoTCrawler. It can be seen as a Context Broker with the features of distributing information following both query-response and publication-subscription patters among the other components of the IoTCrawler architecture.

GitHub repository: https://github.com/IoTCrawler/ScorpioBroker⁠

⁠Usage

⁠Docker Compose

  • docker-compose.yml
version: '3'
services:
  zookeeper:
    image: zookeeper
    ports:
      - "2181"
  kafka:
    image: wurstmeister/kafka
    hostname: kafka
    ports:
      - "9092"
    environment:
      KAFKA_ADVERTISED_HOST_NAME: kafka
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
      KAFKA_ADVERTISED_PORT: 9092
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    depends_on:
      - zookeeper
  postgres:
    image: mdillon/postgis
    ports:
      - "5432"
    environment:
      POSTGRES_USER: ngb
      POSTGRES_PASSWORD: ngb
      POSTGRES_DB: ngb
  scorpio:
    image: iotcrawler/metadata-repository:latest
    ports:
      - "9090:9090"
    depends_on:
      - kafka
      - postgres

⁠Run

docker-compose up -d

⁠Access

curl http://localhost:9090/actuator/health

Tag summary

Content type

Image

Digest

Size

317.4 MB

Last updated

about 6 years ago

docker pull iotcrawler/metadata-repository