Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Commit

Permalink
Makefile: update targets
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlsh committed May 24, 2021
1 parent 49bd4cd commit e3cd1fb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,9 @@ image:
-f docker/Dockerfile \
.

.PHONY: push
push:
@docker push $(IMAGE)

# Note: '--env-file' value is relative to '-f' value's directory.
.PHONY: up
up: down image
up: down
@docker-compose -f $(DOCKER_COMPOSE_FILE) up -d

.PHONY: down
Expand All @@ -69,7 +65,7 @@ down:

.PHONY: logs
logs:
@docker-compose -f $(DOCKER_COMPOSE_FILE) logs -f $(SERVICE)
@docker-compose -f $(DOCKER_COMPOSE_FILE) logs --no-log-prefix -f $(SERVICE)

.PHONY: run-mosquitto
run-mosquitto:
Expand Down

0 comments on commit e3cd1fb

Please # to comment.