Skip to content

Commit

Permalink
fix: replace docker-compose by docker compose due to GitHub removing …
Browse files Browse the repository at this point in the history
…support
  • Loading branch information
JavierCane committed Aug 17, 2024
1 parent 8d8fab0 commit 5bfc483
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ BACKOFFICE_APP_NAME := backoffice

# Test if the dependencies we need to run this Makefile are installed
DOCKER := $(shell command -v docker)
DOCKER_COMPOSE := $(shell command -v docker-compose)
DOCKER_COMPOSE := $(shell command -v docker compose)
deps:
ifndef DOCKER
@echo "Docker is not available. Please install docker"
@exit 1
endif
ifndef DOCKER_COMPOSE
@echo "docker-compose is not available. Please install docker-compose"
@echo "docker compose is not available. Please install docker-compose"
@exit 1
endif

Expand All @@ -28,8 +28,8 @@ build:

# Clean containers
clean:
docker-compose down --rmi local --volumes --remove-orphans
docker compose down --rmi local --volumes --remove-orphans

# Start databases containers in background
start_database:
docker-compose up -d mongo elasticsearch rabbitmq
docker compose up -d mongo elasticsearch rabbitmq

0 comments on commit 5bfc483

Please sign in to comment.