Skip to content

Updated for new versions of Docker #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ Using docker-compose to run Prometheus & Grafana on a Raspberry Pi
## Install Docker & docker-compose

Instructions from [dev.to](https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl)
this is now fairly out of date as Compose is now part of the Docker install

* Install docker `curl -sSL https://get.docker.com | sh`
* Add permissions for user pi to run docker commands `sudo usermod -aG docker pi`
* Install docker-compose `sudo pip3 install docker-compose`

## Run Prometheus & Grafana

* Build and run `docker-compose up --build`
* Or run in the background `docker-compose up -d`
* Build and run `sudo docker compose up --build`
* Or run in the background `sudo docker compose up -d`
* Prometheus should now be running at `http://raspberrypi.local:9090`
* Grafana should now be running at `http://raspberrypi.local:3000`

Expand Down