Image to calculate Top-K using soft-iot-fog-broker.
10K+
Image to calculate Top-K using soft-iot-fog-broker.
This image uses larsid/soft-iot-base as base image, so all bundles that larsid/soft- iot -base has it, this image has it too.
docker run -i -t -p 1883:1883 -p 8181:8181 -p 1099:1099 -p 8101:8101 -p 61616:61616 -p 44444:44444 -e HAS_NODES=true -e IP=<gateway_ip_address> larsid/top-k:<tagname>
This means that the gateway has some nodes connected to it.
docker run -i -t -p 1883:1883 -p 8181:8181 -p 1099:1099 -p 8101:8101 -p 61616:61616 -p 44444:44444 -e IP_UP=<gateway_above_ip_address> -e IP=<gateway_ip_address> larsid/top-k:<tagname>
This means that the gateway is connected to some gateway above it.
You can also override some parameters using the -e parameter, to set environment variables, the parameters you can override are listed below:
| Parameter | Description | Default value |
|---|---|---|
| COLLECT_TIME | Device collect time. | 200 |
| PUBLISH_TIME | Device publish time. | 2000 |
| IP_UP | Gateway IP address located in the layer above. | localhost |
| PORT_UP | Port for connection to the Broker located in the layer above. | 1883 |
| IP | Gateway IP address. | localhost |
| PORT | Port for connection to the Broker. | 1883 |
| USER | User to connect to the Broker. | karaf |
| PASSWORD | Password to connect to the Broker. | karaf |
| URL_API | API URL to get information from connected devices. | http://localhost:8181/cxf/iot-service/devices |
| HAS_NODES | Indicates whether the gateway will be a parent node(true) or a children node(false). | false |
| TIME_OUT | Maximum waiting time in seconds for children's response. | 30 |
| DEBUG_MODE | Debug mode. | true |
Content type
Image
Digest
sha256:875b791f8…
Size
433.5 MB
Last updated
over 3 years ago
docker pull larsid/top-k