ptarcher / pvstats

PVStats is a tool used to connect to your inverter using Modbus TCP, scan for various power figures, and then upload the data to various report services.
Apache License 2.0
14 stars 11 forks source link

Added docker image #2

Open mpfl opened 5 years ago

mpfl commented 5 years ago

I've created a dockerfile and put a container image on Dockerhub.

The docker implementation does not require changing any other files as it takes advantage of the already existing --cfg command line flag to permit the configuration file to exist external to the container.

The image itself quite small - only 77MB (it was close to 1GB before I swapped to an Alpine based image!)

I've already deployed the container on my home network and the data has been happily uploading to pvoutput as of 20/06/2019.

weswark commented 5 years ago

Works perfectly thanks!!