Sign inSign up

larsid/soft-iot-base

By larsid

Updated almost 3 years ago

The base image for the development and execution of SOFT-IoT bundles.

Image
Networking
Internet of things
2

5.2K

larsid/soft-iot-base repository overview

SOFT-IoT-base

The base image for the development and execution of SOFT-IoT bundles.

Bundles

SOFT-IoT Bundles installed:
Web Bundles installed:

How to use this image

-start versions or 2.2.0 or higher
  1. Run the image:
    docker run -i -t -p 1883:1883 -p 8181:8181 -p 1099:1099 -p 8101:8101 -p 61616:61616 -p 44444:44444 larsid/soft-iot-base:<tagname>
    
Other versions
  1. Run the image:
    docker run -i -t -p 1883:1883 -p 8181:8181 -p 1099:1099 -p 8101:8101 -p 61616:61616 -p 44444:44444 larsid/soft-iot-base:<tagname>
    
  2. Go to the ServiceMix directory:
    cd opt/servicemix/bin/
    
  3. Execute the ServiceMix :
    ./servicemix
    
You can also check the configuration files in the etc directory¹:
cd opt/servicemix/etc/
Ps¹: If you are using -start versions, you need to use the docker exec command on the running container to check the configuration files.

The specific tags

2.2.0-tangle-hornet-api

This tag has tangle-hornet-api running in the background.

Run overriding some parameters:

You can also override some parameters using the -e parameter, to set environment variables, the parameters you can override are listed below:

ParameterDescriptionDefault value
API_PORTPort on which the API will run3000
NODE_URLURL of the Tangle Hornet Node127.0.0.1
NODE_PORTPort of the Tangle Hornet Node14265
docker run -i -t -p 1883:1883 -p 8181:8181 -p 1099:1099 -p 8101:8101 -p 61616:61616 -p 44444:44444 -e NODE_URL=172.18.0.5 larsid/soft-iot-base:2.2.0-tangle-hornet-api

Using this image as the base image of your own image

If you need to build your own docker image using this image, we recommend using version 1.1.2 as you have direct access to the container terminal. To start Servicemix when running the container, you can use the soft-iot-base-init script, don't forget to follow the instruction to run the script present in the comments section.

Changelog

Tag summary

Content type

Image

Digest

sha256:21d55ebff

Size

178.1 MB

Last updated

almost 3 years ago

docker pull larsid/soft-iot-base