Skip to content

Commit 5bfc483

Browse files
committed
fix: replace docker-compose by docker compose due to GitHub removing support
1 parent 8d8fab0 commit 5bfc483

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ BACKOFFICE_APP_NAME := backoffice
99

1010
# Test if the dependencies we need to run this Makefile are installed
1111
DOCKER := $(shell command -v docker)
12-
DOCKER_COMPOSE := $(shell command -v docker-compose)
12+
DOCKER_COMPOSE := $(shell command -v docker compose)
1313
deps:
1414
ifndef DOCKER
1515
@echo "Docker is not available. Please install docker"
1616
@exit 1
1717
endif
1818
ifndef DOCKER_COMPOSE
19-
@echo "docker-compose is not available. Please install docker-compose"
19+
@echo "docker compose is not available. Please install docker-compose"
2020
@exit 1
2121
endif
2222

@@ -28,8 +28,8 @@ build:
2828

2929
# Clean containers
3030
clean:
31-
docker-compose down --rmi local --volumes --remove-orphans
31+
docker compose down --rmi local --volumes --remove-orphans
3232

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

0 commit comments

Comments
 (0)