HUB
Sign inSign up
fiware-iotagent-cplusplus logo

fiware/fiware-iotagent-cplusplus

By fiware

•Updated over 10 years ago

IoT Agent for the Ultralight 2.0 protocol

Image
0

1.7K

fiware/fiware-iotagent-cplusplus repository overview

#Introduction Dockerfile to create a container with IoTAgent (MQTT and UL20). Using Docker-compose (iota.yaml fie) you could run multiple containers with IoTAgent, Orion Context-Broker and MongoDB Database all interconnected.

#Use

Run this command:

docker-compose -f iota.yaml up -d iotacpp

This command will build the IoTAgent docker image and it will run three different containers with Orion ContextBroker, MongoDB and IoTAgent all of them linked. The IoTAgent container will expose the 8080 (HTTP) port and 1883 for MQTT protocol.

#Build just IoTAgent docker image

docker build .

This will create an image of the IoTAgent, but in order to properly start it, you need to run other containers for ContextBroker and MongoDB, hence the convenience of having a docker-compose file that will start up all three elements together.

Tag summary
Recent tags
Content type
Image
Digest
sha256:d3ca823ce…
Size
466.2 MB
Last updated
over 10 years ago
docker pull fiware/fiware-iotagent-cplusplus:latest