From 322de5332ad3e09c5576af954131870eaae1a499 Mon Sep 17 00:00:00 2001 From: Alcides Ramos Date: Sat, 5 Oct 2024 19:26:01 +0200 Subject: [PATCH] docs(Makefile): replacing explicit references by proper variable name --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 385465f..d9595dd 100644 --- a/Makefile +++ b/Makefile @@ -153,7 +153,7 @@ down: ## Docker: stops the service .PHONY: logs logs: ## Docker: exposes the service logs @$(eval env ?= 'dev') - @$(eval service ?= 'app1') + @$(eval service ?= $(SERVICE_APP)) $(call showInfo,"Exposing service\(s\) logs...") @echo "" @$(DOCKER_COMPOSE) logs -f $(service) @@ -169,7 +169,7 @@ shell: ## Docker: establish a shell session into main container .PHONY: inspect inspect: ## Docker: inspect the health for specific service - @$(eval service ?= 'app1') + @$(eval service ?= $(SERVICE_APP)) $(call showInfo,"Inspecting the health for a specific service...") @echo "" @docker inspect --format "{{json .State.Health}}" $(service) | jq