Image to run load balancer using IOTA blockchain.
5.8K
Image to run load balancer using IOTA blockchain.
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 larsid/load-balancer:<tagname>
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 |
|---|---|---|
| DLT_PROTOCOL | Define what type of protocol is used by the API client. | "https" |
| DLT_URL | Defines which is the URL of the network node that the client should connect to. | "nodes.devnet.iot.org" |
| DLT_PORT | Defines the port. | 443 |
| ZMQ_SOCKET_PROTOCOL | Defines which messaging system protocol is used by the network to notify the status of transactions. | "tcp" |
| ZMQ_SOCKET_URL | Defines the URL of the messaging system used by the network to notify the status of transactions. | "zmq.devnet.iota.org" |
| ZMQ_SOCKET_PORT | Defines which messaging system port is used by the network to notify the status of transactions. | 5556 |
| SAMPLING_INTERVAL | Defines the sampling interval in milliseconds. | 1000 |
| LOAD_LIMIT | Defines what is the minimum value required to start balancing. | 10 |
| LB_ENTRY_TIMEOUT | Defines the value in milliseconds to resubmit a transaction of type LB_ENTRY. | 8000 |
| TIMEOUT_LB_REPLY | Maximum time to wait in milliseconds to receive a response from a gateway. | 20000 |
| TIMEOUT_GATEWAY | Maximum wait time in milliseconds for the last transaction to be resubmitted. | 40000 |
| GROUP | The gateway group. | "cloud/c1" |
| COLLECT_TIME1 | Device collect time. | 200 |
| PUBLISH_TIME1 | Device publish time. | 2000 |
docker run -i -t -p 1883:1883 -p 8181:8181 -p 1099:1099 -p 8101:8101 -p 61616:61616 -p 44444:44444 -e DLT_PROTOCOL=http -e SAMPLING_INTERVAL=5 -e SAMPLING=10 -e LOAD_LIMIT=2 larsid/load-balancer:<tagname>
Content type
Image
Digest
sha256:c6bf1f76a…
Size
190 MB
Last updated
about 3 years ago
docker pull larsid/load-balancer