From 8ec34177190b9dcd1bb2bfbbad83291b401303c0 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 25 Apr 2020 12:38:11 +0200 Subject: [PATCH] More targets for the makefile --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d55994..7f845ca 100644 --- a/Makefile +++ b/Makefile @@ -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