From c0714f98b40ba8aed9a6bde815475ba50ee98962 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Tue, 10 Sep 2024 20:02:25 +0200 Subject: [PATCH] Replace docker-compose with 'docker compose' --- integrationtest-setup.sh | 2 +- integrationtest-teardown.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integrationtest-setup.sh b/integrationtest-setup.sh index 0dbd99b1..cfa303b8 100755 --- a/integrationtest-setup.sh +++ b/integrationtest-setup.sh @@ -11,6 +11,6 @@ if [[ "$(docker info --format '{{ .Swarm.LocalNodeState }}')" == "inactive" ]];t echo "Initialize swarm manager." docker swarm init fi -docker-compose -f examples/compose/docker-compose-integrationtest.yml -p db up -d +docker compose -f examples/compose/docker-compose-integrationtest.yml -p db up -d curl -X GET "http://localhost:9984/metrics" -v diff --git a/integrationtest-teardown.sh b/integrationtest-teardown.sh index f5e84ac6..b408b8ee 100755 --- a/integrationtest-teardown.sh +++ b/integrationtest-teardown.sh @@ -4,4 +4,4 @@ set -o nounset set -o errexit #set -o xtrace -docker-compose -f examples/compose/docker-compose-integrationtest.yml -p db down +docker compose -f examples/compose/docker-compose-integrationtest.yml -p db down