-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration from openenergymonitor/emoncms image #29
Comments
Hello No, you have to change your setup but. I did not use the initial In my mind, it is possible to migrate manually, even it is not a one-to-one replacement, as the architectures and design choices are different One possibility would be to create a backup and to restore it within a container running the
You will also have to adjust the way you post your datas, but if you use an external mqtt broker and want to keep it, the Line 230 in 6a9beae
You can give a try without stopping your original setup. Best |
Thank you for your answer. My IoT device still uses HTTP requests so mqtt is not required too. Thanks! |
You can try to adapt the emoncms_pre.sh file, replace localhost by the address of your mysql container and also add the port, altough it may not be necessary if both containers run on the same network Line 133 in 6a9beae
|
Why ? There is nothing bad running more than one service in a container when it is correctly done, like here with s6-overlay. This image is here to simplify your life while installing and running emoncms and it sticks to the original design of emoncms, it was not the case with the Other users are making the jump and feedback is good : More on s6-overlay : |
Thank you for your help Alexandre. I ended up using the original |
Of thanks for the feedback. As you updated to a new version, could you open a PR in https://github.com/emoncms/emoncms-docker/blob/master/web/Dockerfile or just tell me your changes so i can echo them on the emoncms/emoncms-docker As you can see, the openenergymonitor image uses supervisord : disabling the services is not possible with s6-overlay i think. They will run in the background but you will not use...at the end, it is a lot of ressources lost because if you dont use redis, mosquitto and mysql which are embedded, it is a pity, so would be better to update the original emoncms dockerfile with the minimum vital.... |
Yeah it would be better to run just the apache service on pid 0, but I didn't want to change too much because I needed that to have it working asap, compatible with last home assistant version (it requires the new UUID identifier). |
Hello,
I'm currently running
openenergymonitor/emoncms:11.3.24
on a kubernetes cluster, with separated containers for external services (like mysql).It looks like the image I'm using is no longer supported and emoncms suggests to move to this one.
Is it something I can do just using this new docker image without changing my setup?
Thanks.
This is my conf:
The text was updated successfully, but these errors were encountered: