Skip to content

Commit 799637a

Browse files
committed
Update IoT Agent variables
1 parent 7b83c6d commit 799637a

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

docker-compose/mongodb.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ services:
4646
hostname: iot-agent
4747
container_name: fiware-iot-agent
4848
depends_on:
49+
- orion-v2
4950
- mongo-db
5051
networks:
5152
- default
@@ -66,6 +67,9 @@ services:
6667
- IOTA_MONGO_DB=iotagentul # The name of the database used in mongoDB
6768
- IOTA_HTTP_PORT=${IOTA_SOUTH_PORT} # The port used for device traffic over HTTP
6869
- IOTA_PROVIDER_URL=http://iot-agent:${IOTA_NORTH_PORT}
70+
- IOTA_MULTI_CORE=true
71+
- IOTA_AMQP_DISABLED=true
72+
- IOTA_MQTT_DISABLED=true
6973
healthcheck:
7074
interval: 5s
7175

docker-compose/multiple.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ services:
4848
depends_on:
4949
- mongo-db
5050
networks:
51-
- default
51+
- orion-v2
52+
- mongo-db
5253
ports:
5354
- "${IOTA_NORTH_PORT}:${IOTA_NORTH_PORT}" # localhost:4041
5455
- "${IOTA_SOUTH_PORT}:${IOTA_SOUTH_PORT}" # localhost:7896
@@ -66,6 +67,9 @@ services:
6667
- IOTA_MONGO_DB=iotagentul # The name of the database used in mongoDB
6768
- IOTA_HTTP_PORT=${IOTA_SOUTH_PORT} # The port used for device traffic over HTTP
6869
- IOTA_PROVIDER_URL=http://iot-agent:${IOTA_NORTH_PORT}
70+
- IOTA_MULTI_CORE=true
71+
- IOTA_AMQP_DISABLED=true
72+
- IOTA_MQTT_DISABLED=true
6973
healthcheck:
7074
interval: 5s
7175

docker-compose/mysql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ services:
4646
hostname: iot-agent
4747
container_name: fiware-iot-agent
4848
depends_on:
49+
- orion-v2
4950
- mongo-db
5051
networks:
5152
- default
@@ -66,6 +67,9 @@ services:
6667
- IOTA_MONGO_DB=iotagentul # The name of the database used in mongoDB
6768
- IOTA_HTTP_PORT=${IOTA_SOUTH_PORT} # The port used for device traffic over HTTP
6869
- IOTA_PROVIDER_URL=http://iot-agent:${IOTA_NORTH_PORT}
70+
- IOTA_MULTI_CORE=true
71+
- IOTA_AMQP_DISABLED=true
72+
- IOTA_MQTT_DISABLED=true
6973
healthcheck:
7074
interval: 5s
7175

0 commit comments

Comments
 (0)