A docker-compose file in order to start the following application in Docker:
dsmr-reader (https://github.com/dennissiemensma/dsmr-reader)
The Docker image can be found in the following link: https://hub.docker.com/r/ualex73/dsmr-reader-docker/
Also it starts a PostgreSQL container for the application to store it's data.
You should first add the user you run Docker with on your host file system to the dialout group: sudo usermod -aG dialout $(whoami)
After starting the containers with docker-compose, the dashboard is reachable at:
http://\
After starting the containers, don't forget to modify the default DSMR version (default is DSMR v4):
http://\
dsmrdb in docker-compose is configured to use a docker volume. So when the application and docker containter have been removed, the postgres data still persists.
Also you could easily create a backup:
date +%d-%m-%Y""%H%M%S
.sqlOr drop the database and restore a backup:
The current configuration has been tested on Ubuntu 16.04 and 18.04
For Synology users: