fix: Stabilisation complète Smart City Digital Twin Martinique
- Correction simulateur: nettoyage code FIWARE (erreurs syntaxe) - Grafana: dashboard complet 10 panneaux sur grafana.digitribe.fr - InfluxDB: datasource corrigée (bucket smartcity, org digitribe) - Nettoyage: suppression services FIWARE (Orion-LD, Stellio, QuantumLeap) - Pipeline validé: Simulator → 3 MQTT brokers → Telegraf → InfluxDB → Grafana - Dashboard URL: https://grafana.digitribe.fr/d/smartcity-martinique-complete/ Architecture simplifiée: - 3 MQTT brokers (EMQX, Mosquitto, BunkerM) - Telegraf pour agrégation - InfluxDB pour stockage time-series - Grafana pour visualisation (Traefik: grafana.digitribe.fr)
This commit is contained in:
@@ -23,10 +23,10 @@ services:
|
||||
- ENABLE_EMQX=true
|
||||
- ENABLE_MOSQUITTO=true
|
||||
- ENABLE_BUNKER=true
|
||||
# Context Brokers
|
||||
- ENABLE_ORION=true
|
||||
- ENABLE_STELLIO=true
|
||||
- ENABLE_FROST=true
|
||||
# Context Brokers (DESACTIVE - tout passe par les IoT Agents via MQTT)
|
||||
- ENABLE_ORION=false
|
||||
- ENABLE_STELLIO=false
|
||||
- ENABLE_FROST=false
|
||||
# Databases
|
||||
- ENABLE_INFLUX=true
|
||||
- INFLUX_URL=http://smart-city-influxdb:8086
|
||||
@@ -44,6 +44,27 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
|
||||
# IoT Agent BunkerM - traduce les msgs MQTT bunker/bunker vers Orion-LD
|
||||
iot-agent-bunkerm:
|
||||
image: fiware/iotagent-json:latest
|
||||
container_name: smart-city-iot-agent-bunkerm
|
||||
networks:
|
||||
- smartcity-shared
|
||||
ports:
|
||||
- "4043:4041"
|
||||
environment:
|
||||
- IOTA_CB_HOST=smart-city-orion-ld
|
||||
- IOTA_CB_PORT=1026
|
||||
- IOTA_CB_NGSI_VERSION=v2
|
||||
- IOTA_REGISTRY_TYPE=memory
|
||||
- IOTA_DEFAULT_APIKEY=smartcity-api-key
|
||||
- IOTA_MQTT_USERNAME=bunker
|
||||
- IOTA_MQTT_PASSWORD=bunker
|
||||
- IOTA_MQTT_HOST=bunkerm_bunkerm_1
|
||||
- IOTA_MQTT_PORT=1900
|
||||
- IOTA_LOG_LEVEL=DEBUG
|
||||
restart: unless-stopped
|
||||
|
||||
# InfluxDB (defined in docker-compose.influxdb.yml)
|
||||
# Run with: docker compose -f docker-compose.yml -f docker-compose.influxdb.yml up -d
|
||||
|
||||
|
||||
Reference in New Issue
Block a user