diff --git a/README.md b/README.md index e9a13e1..ec0273a 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,10 @@ This project emulates Smart Meter devices for Marstek storages such as the B2500 pipenv run python main.py ``` +### Docker + +See the `docker_compose.yaml` example. + ### Additional Notes When the script is running, switch your B2500 to "Self-Adaptation" mode to enable the powermeter functionality. diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..f339b78 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,9 @@ +version: '3' + +services: + b2500-meter: + image: ghcr.io/tomquist/b2500-meter:latest + network_mode: host + restart: unless-stopped + volumes: + - './config.ini:/app/config.ini'