volkszaehler / volkszaehler.org

Open Source Smart Meter with focus on privacy - you remain the master of your data.
https://volkszaehler.org
GNU General Public License v3.0
210 stars 84 forks source link

Error in docker-compose.yml #810

Closed DonKracho closed 4 years ago

DonKracho commented 4 years ago

config.dist.yaml (source of config.yaml) has no entry '127.0.0.1' It uses 'localhost' instead. Therfore the sed commands in docker-compose.yml do fail setting the database.

I tried to use volkszaehler docker on a QNAP with an VZ database already existing in a native mysql database. Because setting the database IP did fail VZ could not connect to the database.

B.T.W great work! Now i can get rid of the Raspberry Pi running in parallel to the NAS. The NAS docker performs faster than the Pi. Because QNAP uses port 8080 for its own Configuration Web-UI I implemented a port forwarding from 8090 to 8080

This this my aprproach of the docker-compose.yaml to use a volkszaehhler docker on a ONAP TS-563 with an already existing database and VZ-Users exsisting too:

`version: '3' services:

volkszaehler: image: volkszaehler/volkszaehler ports:

networks: volkszaehler:`

andig commented 4 years ago

Could I ask you to submit a PR? I'm traveling these days and have little chance to touch the code.

DonKracho commented 4 years ago

you are welcome, done.