Add Docker Compose file for Grobro service#171
Conversation
Added a Docker Compose configuration for the Grobro service with environment variables for MQTT settings.
| SOURCE_MQTT_HOST: <YOUR MQTT SERVERS HOSTNAME OR IP> | ||
| SOURCE_MQTT_PORT: 8883 | ||
| SOURCE_MQTT_TLS: "true" | ||
| SOURCE_MQTT_USER: <YOUR GROWATT DATALOGGER SERIALNUMBER> |
There was a problem hiding this comment.
This shouldn’t be the datalogger user, but one only used by GroBro.
| # Source: Growatt device via TLS | ||
| SOURCE_MQTT_HOST: <YOUR MQTT SERVERS HOSTNAME OR IP> | ||
| SOURCE_MQTT_PORT: 8883 | ||
| SOURCE_MQTT_TLS: "true" |
There was a problem hiding this comment.
This really depends on the local setup. TLS is only mandatory for the datalogger, not GroBro.
|
|
||
| # Optional: Forward to Growatt Cloud (optional) | ||
| GROWATT_CLOUD: "true" | ||
| FORWARD_MQTT_HOST: mqtt.growatt.com |
There was a problem hiding this comment.
Those options shouldn’t be exposed to the average user. Only GROWATT_CLOUD option is necessary to control cloud forwarding.
|
Thanks for your contribution 😊 I think this is a great idea. But we need to work on it, to get it align with the practices on how GroBro options are intended to be used (see my comments). Maybe it makes sense to add even more options with example values to the file. So that users have a nice template on how this software is used, additionally to the option table we already have in the configuration guide. |
Added a Docker Compose configuration for the Grobro service, with environment variables for MQTT settings.
I hope this makes things easier for some people and makes configuration changes more persistent and easier to track, compared to running ad-hoc
docker runcommands.