IoT Agent (UL)

Official documentation of this IoT Agent: here

Requirements

Please make sure you read the welcome page and followed the steps explained in the installation guide.

HTTP Transport

What you can customise

Via ENV variables

For the documentation of the variables please refer to the global configuration docs.

  • IOTA_VERSION: Version number (tag) of the Agent Docker Image.

  • IOTA_LOG_LEVEL: Defaults to DEBUG.

  • IOTA_TIMESTAMP: Defaults to true.

  • IOTA_CB_HOST: Defaults to orion.

  • IOTA_CB_PORT: Defaults to 1026.

  • IOTA_NORTH_PORT: Defaults to 4041.

  • IOTA_REGISTRY_TYPE: Defaults to mongodb.

  • IOTA_MONGO_HOST: Defaults to mongo.

  • IOTA_MONGO_PORT: Defaults to 27017.

  • IOTA_MONGO_DB: Defaults to iotagentjson.

  • IOTA_MONGO_REPLICASET: Defaults to rs. Unset to disable replicaset option.

  • IOTA_HTTP_PORT: Defaults to 7896.

  • IOTA_PROVIDER_URL: Defaults to http://iotagent:4041.

Via Files

  • config.js: Feel free to edit this file before deployment, it will be used by the agent as its config file. It is treated by docker as a config.

Deploying this recipe

We assume you have already setup your environment as explained in the Installation.

    docker stack deploy -c docker-compose.yml iota-ul

The deployed services will be: