From aeb16a9c1fa563fabf0d3d89295e4bc20bb9a7bb Mon Sep 17 00:00:00 2001 From: wjrjerome Date: Wed, 7 Aug 2024 21:36:26 +1000 Subject: [PATCH] fix: run docker compose without dash --- Makefile | 4 ++-- bin/local-startup.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index dd30582..5353616 100644 --- a/Makefile +++ b/Makefile @@ -33,10 +33,10 @@ build-docker: $(MAKE) BBN_PRIV_DEPLOY_KEY=${BBN_PRIV_DEPLOY_KEY} -C contrib/images staking-expiry-checker start-staking-expiry-checker: build-docker stop-service - docker-compose up -d + docker compose up -d stop-service: - docker-compose down + docker compose down run-local: ./bin/local-startup.sh; diff --git a/bin/local-startup.sh b/bin/local-startup.sh index de93a91..5c80f49 100755 --- a/bin/local-startup.sh +++ b/bin/local-startup.sh @@ -7,7 +7,7 @@ if [ $(docker ps -q -f name=^/${MONGO_CONTAINER_NAME}$) ]; then else echo "Starting MongoDB" # Start MongoDB - docker-compose up -d mongodb + docker compose up -d mongodb fi # Check if the RabbitMQ container is already running @@ -17,7 +17,7 @@ if [ $(docker ps -q -f name=^/${RABBITMQ_CONTAINER_NAME}$) ]; then else echo "Starting RabbitMQ" # Start RabbitMQ - docker-compose up -d rabbitmq + docker compose up -d rabbitmq # Wait for RabbitMQ to start sleep 10 fi \ No newline at end of file