From dc17c001cd1929705fd89f2275eeea6173a3019c Mon Sep 17 00:00:00 2001 From: JamesH1978 <87171443+JamesH1978@users.noreply.github.com> Date: Tue, 27 Sep 2022 08:35:40 +0100 Subject: [PATCH] Updated for new versions of Docker Compose is now part of Docker, so a separate install is not needed and will likely fail anyway due to dependencies for rust Signed-of-by: James Hartley --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9be7bd3..9d33a32 100644 --- a/README.md +++ b/README.md @@ -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`