diff --git a/integrationtest-setup.sh b/integrationtest-setup.sh index 0dbd99b..cfa303b 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 f5e84ac..b408b8e 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