This repository provides a Docker based setup that demonstrates data integration from "Statistik für Münsters Stadtteile" (SMS) datasets into KomMonitor via Node-RED.
This project comes with a Docker Compose setup for running a KomMonitor and a Node-RED instance so that you can test the SMS data integration flow via Node-RED.
Run docker compose -f ./kommonitor/docker-compose.yml up to start the KomMonitor and Keycloak
stack. While Keycloak will run at http://localhost:8080 you will reach the KomMonitor Web Client
at http://localhost:8084. Finally, just setup KomMonitor and Keycloak the way you're used to.
To start Node-RED use docker compose -f ./nodered/docker-compose.yml up. Node-RED will be
accessible via http://localhost:1880.
The provided Node-RED flow is dedicated to datasets from "Statistik für Münsters Stadtteile" (SMS). However, some aspects are still configurable and depend on your KomMonitor environment.
Set the environment variaales listed below in your Node-RED instance to make them globally available:
| Env Variable | Description | Example |
|---|---|---|
KEYCLOAK_URL |
Root URL to your Keycloak instance. | http://keycloak:8080 |
REALM_NAME |
The Keycloak realm name. | kommonitor |
KEYCLOAK_ACCESS_TOKEN_URL |
URL to the Keycloak token endpoint | http://keycloak:8080/realms/kommonitor/protocol/openid-connect/token |
KOMMONITOR_DATA_MANAGEMENT_URL |
Root URL to the KomMonitor Data Management API | http://kommonitor-data-management:8085 |
KOMMONITOR_OWNER_ID |
ID of the owner group, use for storing indicators | 5e500e2e-196b-4888-a6d6-67a7b0e8e605 |