diff --git a/.github/workflows/scripts-lint.yml b/.github/workflows/scripts-lint.yml index c898cb91173e..f30a79b73cec 100644 --- a/.github/workflows/scripts-lint.yml +++ b/.github/workflows/scripts-lint.yml @@ -40,7 +40,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: validate compose file - run: docker-compose -f monitoring/docker-compose.yml config + run: docker compose -f monitoring/docker-compose.yml config - uses: hadolint/hadolint-action@v3.1.0 with: dockerfile: "Dockerfile*" diff --git a/monitoring/README.md b/monitoring/README.md index 595bd3f83805..80843e8c5c84 100644 --- a/monitoring/README.md +++ b/monitoring/README.md @@ -3,7 +3,7 @@ ## Requirements 1. `forest` node running locally -2. `docker` & `docker-compose` must be available in the `$PATH` (alternatively +2. `docker` & `docker compose` must be available in the `$PATH` (alternatively `podman` and `podman-compose` can be used) 3. Port `3000` for `grafana` has to be free. 4. Port `3100` for `loki` has to be free. @@ -14,7 +14,7 @@ To run the metrics stack, use the provided Docker compose file to spawn the `prometheus`, `loki` and `grafana` containers. ```sh -$ sudo docker-compose up --build --force-recreate -d +$ sudo docker compose up --build --force-recreate -d # or $ podman-compose up --build --force-recreate -d ``` @@ -37,7 +37,7 @@ refer to its [documentation](https://grafana.com/docs/loki/latest/logql/). Assuming your user is in `docker` group. ```sh -$ docker-compose up --build --force-recreate -d +$ docker compose up --build --force-recreate -d # or $ podman-compose up --build --force-recreate -d ```