Skip to content

Commit

Permalink
docs(Makefile): replacing explicit references by proper variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Alcides Ramos committed Oct 5, 2024
1 parent d5597f9 commit 322de53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ down: ## Docker: stops the service <env=[dev|prod]>
.PHONY: logs
logs: ## Docker: exposes the service logs <env=[dev|prod]> <service=[app1|caddy]>
@$(eval env ?= 'dev')
@$(eval service ?= 'app1')
@$(eval service ?= $(SERVICE_APP))
$(call showInfo,"Exposing service\(s\) logs...")
@echo ""
@$(DOCKER_COMPOSE) logs -f $(service)
Expand All @@ -169,7 +169,7 @@ shell: ## Docker: establish a shell session into main container

.PHONY: inspect
inspect: ## Docker: inspect the health for specific service <service=[app1|caddy]>
@$(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
Expand Down

0 comments on commit 322de53

Please sign in to comment.