fix: Simulateur MQTT 3/4 + OpenRemote master + Mapsettings
- MQTT OK: 3/4 (EMQX, Mosquitto, BunkerM) - OpenRemote: utilise realm master (token fonctionnel) - Realm smartcity recréé dans Keycloak - Assets IOTSensor créés dans master (30) et smartcity (30) - Mapsettings: layers iot-sensors + labels pour master et smartcity - INTERVAL=5s, réseau openremote_default ajouté - Dockerfile: --no-cache rebuild
This commit is contained in:
@@ -9,20 +9,27 @@ networks:
|
||||
external: true
|
||||
traefik-public:
|
||||
external: true
|
||||
openremote_default:
|
||||
external: true
|
||||
|
||||
services:
|
||||
# Smart City Simulator
|
||||
simulator:
|
||||
build: .
|
||||
container_name: smart-city-simulator
|
||||
tty: true
|
||||
stdin_open: true
|
||||
networks:
|
||||
- smartcity-shared
|
||||
- traefik-public
|
||||
- openremote_default
|
||||
environment:
|
||||
# MQTT Brokers
|
||||
- ENABLE_EMQX=true
|
||||
- ENABLE_MOSQUITTO=true
|
||||
- ENABLE_BUNKER=true
|
||||
# MQTT Brokers - ALL enabled
|
||||
- ENABLE_EMQX=1
|
||||
- ENABLE_MOSQUITTO=1
|
||||
- ENABLE_BUNKER=1
|
||||
- BUNKERM_HOST=bunkerm_bunkerm_1
|
||||
- BUNKERM_PORT=1900
|
||||
# Context Brokers (DESACTIVE - tout passe par les IoT Agents via MQTT)
|
||||
- ENABLE_ORION=false
|
||||
- ENABLE_STELLIO=false
|
||||
@@ -30,15 +37,21 @@ services:
|
||||
# Databases
|
||||
- ENABLE_INFLUX=true
|
||||
- INFLUX_URL=http://smart-city-influxdb:8086
|
||||
# Pulsar (Disabled for demo stability - was causing 0.0.0.0:0 errors)
|
||||
# OpenRemote
|
||||
- ENABLE_OPENREMOTE=1
|
||||
- OR_URL=http://openremote_manager_1:8080
|
||||
- OR_REALM=master
|
||||
- OR_TOKEN_REALM=master
|
||||
- OR_ADMIN_USER=admin
|
||||
- OR_ADMIN_PASS=Digitribe972
|
||||
- OR_CLIENT_SECRET=0oQjzTfiEELYmj5jFwT4iIuWUDtQDvVa
|
||||
# Pulsar (Disabled for demo stability)
|
||||
- ENABLE_PULSAR=false
|
||||
# - PULSAR_HOST=smart-city-pulsar
|
||||
# - PULSAR_PORT=6650
|
||||
# Redpanda (Disabled - troubleshooting)
|
||||
# Redpanda (Disabled)
|
||||
- ENABLE_REDPANDA=false
|
||||
- REDPANDA_BROKERS=smart-city-redpanda:9092
|
||||
# Simulation settings
|
||||
- INTERVAL=1
|
||||
- INTERVAL=5
|
||||
- LOG_LEVEL=INFO
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user