More targets for the makefile

This commit is contained in:
Luke Murphy 2020-04-25 12:38:11 +02:00
parent f5c07666e7
commit 8ec3417719
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,12 @@
STACK := traefik
COMPOSE_FILE := docker-compose.yml
default: deploy
deploy:
@docker stack deploy -c docker-compose.yml traefik
@docker stack deploy -c $(COMPOSE_FILE) $(STACK)
down:
@docker stack rm $(STACK)
.PHONY: deploy