Created
December 5, 2018 00:39
-
-
Save EmbeddedAndroid/31b365027baf2079723a7631fa4ba029 to your computer and use it in GitHub Desktop.
Simple MQTT IOTA Data Stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mosquitto: | |
image: opensourcefoundries/simple-mosquitto-broker:latest | |
read_only: true | |
restart: always | |
network_mode: "host" | |
iota-mqtt: | |
image: miota/iota-mqtt-broker:latest | |
restart: always | |
depends_on: | |
- mosquitto | |
environment: | |
- MQTT_FULL_URL=mqtt://127.0.0.1:1883 | |
- MQTT_CLIENT_PREFIX=iota_poc_3bc3eb87 | |
- MQTT_TOPIC=# | |
- IOTA_HOST=<IRI host> | |
- IOTA_PORT=<IRI port> | |
- IOTA_SEED=<IOTA SEED> | |
- IOTA_ADDRESS=<IOTA ADDRESS> | |
- IOTA_TAG=lmp-gw-01 | |
network_mode: "host" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment