File tree Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,8 @@ services:
246246 - IOTA_JSON_LD_CONTEXT=http://context/user-context.jsonld
247247 - IOTA_FALLBACK_TENANT=openiot
248248 - IOTA_MULTI_CORE=true
249+ - IOTA_AMQP_DISABLED=true
250+ - IOTA_MQTT_DISABLED=true
249251 healthcheck :
250252 interval : 5s
251253
Original file line number Diff line number Diff line change @@ -34,7 +34,15 @@ services:
3434 healthcheck :
3535 test : curl --fail -s http://orion:${ORION_LD_PORT}/version || exit 1
3636 interval : 30s
37-
37+
38+ iot-agent :
39+ depends_on :
40+ - orion
41+ environment :
42+ # - IOTA_DEFAULT_RESOURCE=/iot/d
43+ - IOTA_CB_HOST=orion # name of the context broker to update context
44+ - IOTA_CB_PORT=${ORION_LD_PORT} # port the context broker listens on to update context
45+
3846 # Tutorial connects to the Orion-LD Broker
3947 tutorial :
4048 environment :
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ services:
6464
6565 # IoT-Agent connects to the Scorpio Broker
6666 iot-agent :
67+ depends_on :
68+ - scorpio
6769 environment :
6870 - IOTA_DEFAULT_RESOURCE=/iot/d
6971 - IOTA_CB_HOST=scorpio # name of the context broker to update context
Original file line number Diff line number Diff line change @@ -179,7 +179,16 @@ services:
179179 devices :
180180 environment :
181181 - CONTEXT_BROKER=http://stellio:${STELLIO_PORT}
182-
182+
183+
184+ iot-agent :
185+ depends_on :
186+ - api-gateway
187+ environment :
188+ # - IOTA_DEFAULT_RESOURCE=/iot/d
189+ - IOTA_CB_HOST=api-gateway # name of the context broker to update context
190+ - IOTA_CB_PORT=${STELLIO_PORT} # port the context broker listens on to update context
191+
183192 # Tutorial acts as a series of dummy IoT Sensors over HTTP and connects to the Stellio Broker
184193 tutorial :
185194 environment :
You can’t perform that action at this time.
0 commit comments