File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,8 @@ services:
164164 - IOTA_JSON_LD_CONTEXT=http://context/user-context.jsonld
165165 - IOTA_FALLBACK_TENANT=openiot
166166 - IOTA_MULTI_CORE=true
167+ - IOTA_AMQP_DISABLED=true
168+ - IOTA_MQTT_DISABLED=true
167169 healthcheck :
168170 interval : 5s
169171
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 : 5s
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 @@ -51,6 +51,8 @@ services:
5151
5252 # IoT-Agent connects to the Scorpio Broker
5353 iot-agent :
54+ depends_on :
55+ - scorpio
5456 environment :
5557 - IOTA_DEFAULT_RESOURCE=/iot/d
5658 - IOTA_CB_HOST=scorpio # name of the context broker to update context
Original file line number Diff line number Diff line change @@ -166,7 +166,15 @@ services:
166166 timeout : 5s
167167 retries : 20
168168 start_period : 10s
169-
169+
170+ iot-agent :
171+ depends_on :
172+ - api-gateway
173+ environment :
174+ # - IOTA_DEFAULT_RESOURCE=/iot/d
175+ - IOTA_CB_HOST=api-gateway # name of the context broker to update context
176+ - IOTA_CB_PORT=${STELLIO_PORT} # port the context broker listens on to update context
177+
170178 # Tutorial acts as a series of dummy IoT Sensors over HTTP and connects to the Stellio Broker
171179 tutorial :
172180 environment :
You can’t perform that action at this time.
0 commit comments