Skip to content

Commit

Permalink
fix: migrate to docker compose v2 (#4609)
Browse files Browse the repository at this point in the history
  • Loading branch information
LesnyRumcajs authored Aug 2, 2024
1 parent 9d90d9e commit 3733765
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
dockerfile: "Dockerfile*"
Expand Down
6 changes: 3 additions & 3 deletions monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
```
Expand All @@ -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
```

0 comments on commit 3733765

Please sign in to comment.