Deployment Env: RaspberryPi 3B + , 1.4-rpi installer
Problem : After installation success as guided on github(https://github.com/cedalo/streamsheets), First create of sheet failed on MQTT.
Work around: Compare with macos distribution’s docker-compose.prod.yml and raspberrypi’s docker-compose.yml. And then modified as follow:
- MESSAGE_BROKER_USERNAME and MESSAGE_BROKER_PASSWORD items all comment.
- In streamsheets-gateway > environment ADD WS_HOST: “0.0.0.0”
- In streamsheets-gateway > environment comment HTTP_PORT and HTTP_HOST
- In streamsheets-service-machines , modify MONGO_DATABASE’s value from “migration” to “streamsheets”
- In streamsheets-service-graphs > environment, ADD two line
MONGO_HOST: streamsheets-internal-mongodb
MONGO_PORT: 27017 - In streamsheets-service-streams > environment, ADD two line
MONGO_USER_DB_URI: mongodb://database:27017/userDB
SCHEMA_REGISTRY_URL: http://localhost:9091
and modify MONGO_DATABASE’s value from “migration” to “streamsheets”
-In streamsheets-internal-redis > command, modify “–notify-keyspace-events Kls$$” to --notify-keyspace-events Kls"
After modify scripts/docker-compose.yml, In the scripts/mosquitto/mosquito.conf, modify line 552 allow_anonymous value to true.
and then “sh start.sh”.
After modify compose file, then I can make new sheet.