Make it easy to spin up various containers, e.g. metrics qq

This commit is contained in:
Gerhard Lazu 2019-06-26 11:44:52 +01:00
parent 30eab6b0ac
commit f1293fd6c8
1 changed files with 8 additions and 0 deletions

View File

@ -129,6 +129,14 @@ $(DOCKER_COMPOSE_FILES):
down: DOCKER_COMPOSE_ACTION = down
down: $(DOCKER_COMPOSE_FILES)
define DOCKER_COMPOSE_UP
cd docker && \
docker-compose --file docker-compose-$(@F).yml up --detach
endef
.PHONY: metrics overview dist-tls qq
metrics overview dist-tls qq:
@$(DOCKER_COMPOSE_UP)
.PHONY: up
up: DOCKER_COMPOSE_ACTION = up --detach
up: $(DOCKER_COMPOSE_FILES)