-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add mysql libraries to the image? #159
Comments
Nice case 😃! However, I |
Some info, some build deps are required.... so I've added something like this for the build process of the Docker image.
|
What is your target architecture? The following images have been created with mysql support:
Once tested, I can create a PR for the master branch. |
Thank you for the swift response.
I think it needs an mysql-client/mariadb-client Another thing to fix will be this function https://github.com/xirixiz/dsmr-reader-docker/blob/master/src/app/run.sh#L136 |
Great! Thanks for helping out. I just rebuild the development images (same version).
|
Is it working properly? |
I installed it and it seems to work properly. I think this issue can be closed. It worth to be mentioned (might be in docs, but at least here) that there is issue with DSMR running on top of MySQL If you drill down from here then you can eventually find this issue: dsmrreader/dsmr-reader#909 Might be I can create another linked issue to implement some checks and warn if someone is trying to run this container on top of MySQL without properly configured timezone info tables. What do you think? |
Thanks for the additional info. I`ll merge the code and add some additional infor for MySQL. |
If I am not mistaken DSMR is build on top of django which in a turn support mysql as a backend.
I am currently running a bunch of dockers on my NAS and only DSMR requires Postgres.
I wanted migrate it to mysql in order to simplify management and get rid of postgresql in my setup
but unfortunately there is no mysql libraries in the image, so changing DJANGO_DATABASE_ENGINE to django.db.backends.mysql is not enough
I've tried to add dependencies manually via console of running docker, just to confirm that it will work.
Unfortunately that didn't help
Is this something you can help me with?
The text was updated successfully, but these errors were encountered: