Skip to content

Commit

Permalink
fix: run docker compose without dash
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwbabylonlab committed Aug 7, 2024
1 parent e5006f3 commit aeb16a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions bin/local-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit aeb16a9

Please sign in to comment.