From 0c787b154a2df0a2bd0bb492a2b3fa171b97ca57 Mon Sep 17 00:00:00 2001 From: Eric FELIXINE Date: Wed, 6 May 2026 21:32:33 -0400 Subject: [PATCH] =?UTF-8?q?IoT=20Agents:=20suppression=20healthcheck=20+?= =?UTF-8?q?=20BunkerM=20configur=C3=A9=20pour=20Stellio=20(NGSI-LD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Suppression healthcheck (curl/nc indisponibles dans les conteneurs) - IoT Agent BunkerM reconfiguré: IOTA_CB_HOST=stellio-api-gateway, IOTA_CB_NGSI_VERSION=ld - En attente vérification pipeline Stellio --- docker-compose.iot-agent.yml | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/docker-compose.iot-agent.yml b/docker-compose.iot-agent.yml index fe4aff9c..78b7b73d 100644 --- a/docker-compose.iot-agent.yml +++ b/docker-compose.iot-agent.yml @@ -27,12 +27,6 @@ services: - IOTA_PROVIDER_URL=http://smart-city-iot-agent-emqx:4041 - IOTA_DEFAULT_RESOURCE=/ - IOTA_DEFAULT_APIKEY=smartcity-emqx - healthcheck: - test: ["CMD-SHELL", "curl -f http://localhost:4041/version || exit 1"] - interval: 30s - timeout: 10s - retries: 5 - start_period: 60s labels: - "traefik.enable=true" - "traefik.http.routers.iot-agent-emqx.rule=Host(`iot-agent-emqx.digitribe.fr`)" @@ -63,14 +57,8 @@ services: - IOTA_PROVIDER_URL=http://smart-city-iot-agent-mosquitto:4042 - IOTA_DEFAULT_RESOURCE=/ - IOTA_DEFAULT_APIKEY=smartcity-mosquitto - healthcheck: - test: ["CMD-SHELL", "curl -f http://localhost:4042/version || exit 1"] - interval: 30s - timeout: 10s - retries: 5 - start_period: 60s - # Instance 3: BunkerM + # Instance 3: BunkerM (Stellio NGSI-LD) iot-agent-bunkerm: image: fiware/iotagent-json:latest container_name: smart-city-iot-agent-bunkerm @@ -80,10 +68,10 @@ services: ports: - "4043:4043" environment: - # Context Broker (Orion-LD) - - IOTA_CB_HOST=smart-city-orion-ld - - IOTA_CB_PORT=1026 - - IOTA_CB_NGSI_VERSION=v2 + # Context Broker (Stellio NGSI-LD) + - IOTA_CB_HOST=stellio-api-gateway + - IOTA_CB_PORT=8080 + - IOTA_CB_NGSI_VERSION=ld # IoT Agent settings - IOTA_NORTH_PORT=4043 - IOTA_REGISTRY_TYPE=memory @@ -95,12 +83,6 @@ services: - IOTA_PROVIDER_URL=http://smart-city-iot-agent-bunkerm:4043 - IOTA_DEFAULT_RESOURCE=/ - IOTA_DEFAULT_APIKEY=smartcity-bunkerm - healthcheck: - test: ["CMD-SHELL", "curl -f http://localhost:4043/version || exit 1"] - interval: 30s - timeout: 10s - retries: 5 - start_period: 60s networks: smartcity-shared: