From 5bfc483f156ee36549112b87c3c9997944410736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ferrer=20Gonza=CC=81lez?= Date: Sat, 17 Aug 2024 19:39:34 +0200 Subject: [PATCH] fix: replace docker-compose by docker compose due to GitHub removing support --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ded0c4e..85a801f 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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 \ No newline at end of file + docker compose up -d mongo elasticsearch rabbitmq \ No newline at end of file