Skip to content

Commit eff4458

Browse files
committed
Update IoT Agent configuration
1 parent f1a2d0c commit eff4458

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

docker-compose/common.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

docker-compose/orion-ld.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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:

docker-compose/scorpio.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

docker-compose/stellio.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)