This is an old revision of the document!
docker load -i steam.tar
docker image ls
version: '2'
services:
Steam:
image: steam:0.9
volumes:
- /var/steam/:/etc/runtime/share
network_mode: "host"
sudo apt-get install mosquitto mosquitto-clients
* Erstmaliges Starten des Containers
docker-compose up
--> <SamplingThread-type>ADAS</SamplingThread-type> --> <ProcessingThread-type>MQTT</ProcessingThread-type> <!--ETHERCAT IP :127.0.0.1 / PORT 54011--> <!--MODBUS IP :192.168.0.12 / PORT 502--> <PhoenixIPAddress>192.168.214.152</PhoenixIPAddress> <PhoenixPort>54011</PhoenixPort> <Packet-size>100</Packet-size> --> <MQTT_Client_ID>ExampleClientPub</MQTT_Client_ID> --> <MQTT_Address>tcp://localhost:1883</MQTT_Address> <MQTT_Topic>communicationAdapter/hf</MQTT_Topic> <MQTT_UserName>testName</MQTT_UserName> <MQTT_Passwort>testPasswort</MQTT_Passwort>
paho_c_sub -t my_topic --connection tcp://localhost:1883
docker-compose up