Skip to content

Commit

Permalink
examples/grpc: Move to Docker Compose v2
Browse files Browse the repository at this point in the history
Migrate to Docker Compose v2 as Docker Compose v1 removed from GitHub Actions runners.
Ref: actions/runner-images#9692

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
  • Loading branch information
ashutosh-narkar committed Aug 2, 2024
1 parent be102d7 commit a43e4ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/grpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ testsrv.pb: testsrv/test.proto

.PHONY: test-setup
test-setup:
docker-compose up -d
docker compose up -d

.PHONY: test-teardown
test-teardown:
docker-compose logs
docker-compose down
docker compose logs
docker compose down

.PHONY: test
test:
Expand Down
2 changes: 1 addition & 1 deletion examples/grpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The docker-compose.yaml file defines three services:
pack_as_bytes: true
```
After spinning them up with `docker-compose up`, they can be exercised
After spinning them up with `docker compose up`, they can be exercised
using a gRPC client.

This is an example invocation using `grpcurl`:
Expand Down

0 comments on commit a43e4ad

Please sign in to comment.