More convenience targets

This commit is contained in:
Luke Murphy 2020-04-25 12:58:47 +02:00
parent 1ad2bd6585
commit bf4b88b9e5
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,6 @@
STACK := traefik
COMPOSE_FILE := docker-compose.yml
NETWORK := proxy
default: deploy
@ -9,4 +10,10 @@ deploy:
down:
@docker stack rm $(STACK)
network:
@docker network create --driver=overlay $(NETWORK)
logs:
@docker service logs -f $(STACK)_$(STACK)
.PHONY: deploy