Skip to content

Commit 1d2c799

Browse files
committed
CI workflow
1 parent 4bbb5ae commit 1d2c799

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docker/docker-compose.yml

+28
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,34 @@ services:
9595
- IOTA_MQTT_KEEPALIVE=${IOTA_JSON_MQTT_KEEPALIVE:-60}
9696
- IOTA_AMQP_DISABLED=${IOTA_JSON_AMQP_DISABLED:-true}
9797
logging: *logging-high
98+
99+
iot-agent-ul:
100+
image: fiware/iotagent-ul:${IOTA_UL_VERSION:-1.19.0}
101+
hostname: iot-agent-ul
102+
networks:
103+
- filip
104+
ports:
105+
- "4061:4061"
106+
environment:
107+
- IOTA_CB_HOST=${IOTA_UL_CB_HOST:-orion} # name of the context broker to update context
108+
- IOTA_CB_PORT=${IOTA_UL_CB_PORT:-1026} # port the context broker listens on to update context
109+
- IOTA_NORTH_PORT=${IOTA_UL_NORTH_PORT:-4061}
110+
- IOTA_REGISTRY_TYPE=${IOTA_UL_REGISTRY_TYPE:-mongodb} # Whether to hold IoT device info in memory or in a database
111+
- IOTA_LOG_LEVEL=${IOTA_UL_LOG_LEVEL:-ERROR} # The log level of the IoT Agent
112+
- IOTA_TIMESTAMP=${IOTA_UL_TIMESTAMP:-true} # Supply timestamp information with each measurement
113+
- IOTA_CB_NGSI_VERSION=${IOTA_UL_CB_NGSI_VERSION:-v2} # use NGSIv2 when sending updates for active attributes
114+
- IOTA_AUTOCAST=${IOTA_UL_AUTOCAST:-true} # Ensure Ultralight number values are read as numbers not strings
115+
- IOTA_MONGO_HOST=${IOTA_UL_MONGODB_HOST:-mongodb1,mongodb2,mongodb3} # The host name of MongoDB or list of hosts in case mongodb is instanciated as replicaset
116+
- IOTA_MONGO_PORT=${IOTA_UL_MONGODB_PORT:-27017} # The port mongoDB is listening on
117+
- IOTA_MONGO_REPLICASET=${IOTA_UL_MONGO_REPLICASET:-rs0} # Optional - name of the replicaset if mongodb is instanciated as replicaset
118+
- IOTA_MONGO_DB=${IOTA_UL_MONGODB_DB_NAME:-iotagentul} # The name of the database used in mongoDB
119+
- IOTA_MQTT_HOST=${IOTA_UL_MQTT_HOST:-mqtt-broker} # The host name of the MQTT Broker
120+
- IOTA_MQTT_PORT=${IOTA_UL_MQTT_PORT:-1883} # The port the MQTT Broker is listening on to receive topics
121+
- IOTA_MQTT_KEEPALIVE=${IOTA_UL_MQTT_KEEPALIVE:-60}
122+
- IOTA_PROVIDER_URL=${IOTA_UL_PROVIDER_URL:-http://iot-agent-ul:4061}
123+
- IOTA_MULTI_CORE=${IOTA_UL_MULTI_CORE:-true}
124+
logging: *logging-high
125+
98126

99127
mqtt-broker:
100128
image: eclipse-mosquitto:${MOSQUITTO_VERSION:-2.0.11}

0 commit comments

Comments
 (0)