Skip to content

Commit 322de53

Browse files
author
Alcides Ramos
committed
docs(Makefile): replacing explicit references by proper variable name
1 parent d5597f9 commit 322de53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ down: ## Docker: stops the service <env=[dev|prod]>
153153
.PHONY: logs
154154
logs: ## Docker: exposes the service logs <env=[dev|prod]> <service=[app1|caddy]>
155155
@$(eval env ?= 'dev')
156-
@$(eval service ?= 'app1')
156+
@$(eval service ?= $(SERVICE_APP))
157157
$(call showInfo,"Exposing service\(s\) logs...")
158158
@echo ""
159159
@$(DOCKER_COMPOSE) logs -f $(service)
@@ -169,7 +169,7 @@ shell: ## Docker: establish a shell session into main container
169169

170170
.PHONY: inspect
171171
inspect: ## Docker: inspect the health for specific service <service=[app1|caddy]>
172-
@$(eval service ?= 'app1')
172+
@$(eval service ?= $(SERVICE_APP))
173173
$(call showInfo,"Inspecting the health for a specific service...")
174174
@echo ""
175175
@docker inspect --format "{{json .State.Health}}" $(service) | jq

0 commit comments

Comments
 (0)