Skip to content
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

Docker image usage #35

Open
laurivosandi opened this issue Apr 19, 2024 · 1 comment
Open

Docker image usage #35

laurivosandi opened this issue Apr 19, 2024 · 1 comment

Comments

@laurivosandi
Copy link

Please add into README how to use the Docker image. I tried to run ghcr.io/suprememoocow/victron-exporter:v0.5.0-amd64 but it says exec /usr/local/bin/victron-exporter: no such file or directory. Oddly enough the binary seems to be inside the image and entrypoint seems to invoke the right path

@irrwitzer42
Copy link

irrwitzer42 commented Aug 23, 2024

Hi,

Thank you @suprememoocow for your work and this exporter!

Just as a reference for others looking for an answer to this question, I found a ready to use docker image based on this code here:

theempty/victron-exporter: theempty/victron-exporter
Thanks @TheEmpty for your part in this and the complete Dockerfile as well ;-)

I used it in my docker-compose.yml like this:

  victron-exporter:
    image: theempty/victron-exporter:latest
    container_name: victron-exporter
    restart: unless-stopped
    expose:
      - 9226
    command:
      - '-mqtt.host'
      - '192.168.1.13'
      - '-web.listen-address'
      - '0.0.0.0:9226'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants