Skip to content

Commit 65d03fc

Browse files
kenliao94mergify[bot]
authored andcommitted
updated makefile to use docker compose v2
(cherry picked from commit 38b0566)
1 parent 1263c3a commit 65d03fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbitmq_prometheus/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ DOCKER_COMPOSE_FILES := $(wildcard docker/docker-compose-*.yml)
4444
.PHONY: $(DOCKER_COMPOSE_FILES)
4545
$(DOCKER_COMPOSE_FILES):
4646
@cd docker && \
47-
docker-compose --file $(@F) $(RUN) ; \
47+
docker compose --file $(@F) $(RUN) ; \
4848
true
4949
.PHONY: down
5050
down: RUN = down
@@ -53,7 +53,7 @@ down: $(DOCKER_COMPOSE_FILES) # Stop all containers
5353
# Defined as explicit, individual targets so that autocompletion works
5454
define DOCKER_COMPOSE_UP
5555
cd docker && \
56-
docker-compose --file docker-compose-$(@F).yml up --detach
56+
docker compose --file docker-compose-$(@F).yml up --detach
5757
endef
5858
.PHONY: metrics
5959
metrics: # Run all metrics containers: Grafana, Prometheus & friends

0 commit comments

Comments
 (0)