From d7e16c75f9ecaba7c511fcc19757dba27ca56c73 Mon Sep 17 00:00:00 2001 From: Ludovic Muller Date: Tue, 2 Jan 2024 13:14:48 +0100 Subject: [PATCH] chore: use docker compose instead of deprecated docker-compose --- docs/otel/README.md | 6 +++--- tests/run.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/otel/README.md b/docs/otel/README.md index ecc8e56..01422e7 100644 --- a/docs/otel/README.md +++ b/docs/otel/README.md @@ -2,7 +2,7 @@ This Docker image is configured to include the OpenTelemetry Java agent. -We provide a `docker-compose` stack to let you test it. +We provide a Docker Compose stack to let you test it. ## Presentation of the stack @@ -24,7 +24,7 @@ The stack includes the following services: Run the following command: ```sh -docker-compose up +docker compose up ``` ## Sample federated query @@ -64,5 +64,5 @@ Check the logs [in Grafana](http://localhost:3000): Run the following command to remvove the stack: ```sh -docker-compose down +docker compose down ``` diff --git a/tests/run.sh b/tests/run.sh index 2d837ca..25c3081 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -2,10 +2,10 @@ set -eu -docker-compose pull -DOCKER_BUILDKIT=1 docker-compose build -DOCKER_BUILDKIT=1 docker-compose up -d +docker compose pull +DOCKER_BUILDKIT=1 docker compose build +DOCKER_BUILDKIT=1 docker compose up -d echo "Waiting 20 seconds…" sleep 20 hurl --test *.hurl -docker-compose down +docker compose down