question

duane avatar image
duane asked

Docker/Grafana Raspberry Pi

Hello all

I have been playing with Docker/Grafana on Windows and have perfect dashboard for my use. However I dont want to run another windows machine in the motorhome

I purchased a Raspberry Pi 4 and installed as per the instructions on this site but Grafana wont load on port 3000 even though the docker site on port 8088 works perfectly

Has anyone else had this issue?

Thanks for your help

Raspberry Pi
2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

sureshskr avatar image sureshskr commented ·

https://community.victronenergy.com/articles/72317/docker-grafana-dashboards-on-raspberry-pi.html

0 Likes 0 ·
sureshskr avatar image sureshskr sureshskr commented ·
Please look for my comment
0 Likes 0 ·
3 Answers
duane avatar image
duane answered ·

For those who have this issue in the future the instructions on the forum are right but the .yaml file you download has a wrong setting in it for a raspberry pi

edit the lines in your yaml file to read

------------------------------------------------------------------------------------------------------------------

version: '3.4'

services:

server:

image: "victronenergy/venus-docker-server:latest"

ports:

- "8088:8088"

volumes:

- "config-storage:/config"

upnp:

image: "victronenergy/venus-docker-upnp:latest"

network_mode: host

influxdb:

image: "influxdb:1.7"

ports:

- "8086:8086"

volumes:

- "influxdb-storage:/var/lib/influxdb"

environment:

- INFLUXDB_HTTP_LOG_ENABLED=false

graphing:

image: "victronenergy/venus-docker-grafana:2.0.0"

volumes:

- "grafana-storage:/var/lib/grafana"

ports:

- "3000:3000"

volumes:

influxdb-storage:

grafana-storage:

config-storage:

------------------------------------------------------------------------------------------------------

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

pau1phi11ips avatar image
pau1phi11ips answered ·

Found this post as I couldn't get it to work on a RPi. This also needs changing now:

image: "victronenergy/venus-docker-server:armhf-latest"

See here: https://hub.docker.com/r/victronenergy/venus-docker-server/tags


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

kevgermany avatar image
kevgermany answered ·

New pi installation using pi os.

More problems in command

docker -compose up --detach

-compose gives error, insert space after -

i.e. docker - compose...

up --detach and up -d equivalent both give errors.

-d gives unknown shorthand flag

--detach gives unknown flag

Implying they're being recognised for the docker command, not the up option

Docker help shows up --detach and -d as valid and equivalent.

Ideas?

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.