More convenience targets
This commit is contained in:
parent
1ad2bd6585
commit
bf4b88b9e5
7
Makefile
7
Makefile
@ -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
|
||||
|
Reference in New Issue
Block a user