-
|
I just had a Generac installed earlier this month and am very interested in using your project and approach to monitor the generator. Your reasoning for separating the functionality by using an ESP on the generator to gather & forward data to a separate box to run the genmon code makes great sense to me, as well as minimizing the hardware at the generator. I am in the process of migrating my Home Assistant installation to a docker-based installation. As a result, I would like to run the genmon code in a separate docker container on the HA box. I am very new at docker, however. Do you have any suggestions on how to set up a docker compose file that will install & run the genmon code in an appropriate container? Thanks so much for any help you can provide. I'm looking forward to implementing this superb project. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 21 replies
-
|
I don't. but the instructions I have for running it on Alpine in LXC are probably pretty close to what's needed in a dockerfile: If you get it working I'd be happy to add instructions for that to this repo. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, Any success with this? I'm trying the same thing with no luck. I'm running the Alpine 3.11 image, executing the commands (genmon install is interactive), closing the image, commiting the changes to a new image and then running a container off that new image. No luck so far. The containers seems to be in somekind of restart or bootlopp cycle. Don't know too much about creating my own image with Docker. Any help would be appreciated. TIA |
Beta Was this translation helpful? Give feedback.
-
|
I have not yet had an opportunity to complete this project. Hoping to in the next couple of weeks and will let you know if/how the docker install works. I, too, am new to docker. Planning to start with the following docker compose script. Please let me know if it helps & gets you to the finish line. Also, kindly let me know if you had to modify it in any way. (The script assumes mqtt is also installed with docker compose--the "depends on: mqtt" portion. If you have mqtt running on another machine or not via docker, you should delete that dependency.) Good luck!!! version: '3' |
Beta Was this translation helpful? Give feedback.
-
|
Thanks! I think I saw this already in the genmon repository but had trouble resolving the genmon:python3 image. Where does it come from? |
Beta Was this translation helpful? Give feedback.
-
|
Alright! I've managed to get genmon running on Docker! The files needed are on this repository I've created: https://github.com/JMVS/genmon-docker/ (docker folder) Quick and dirty setup (I'm out of town, might expand if needed): You should use:
docker-compose.yaml is the file you need to edit to suit your needs, mainly: Default ports are 10800 for http and 10443 for https, you can change them in the same file under ports. EDIT: Added some images |
Beta Was this translation helpful? Give feedback.


I don't. but the instructions I have for running it on Alpine in LXC are probably pretty close to what's needed in a dockerfile:
If you get it working I'd be happy to add instructions for that to this repo.