This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
traefik.autonomic.zone/Makefile
2020-04-25 12:58:47 +02:00

20 lines
319 B
Makefile

STACK := traefik
COMPOSE_FILE := docker-compose.yml
NETWORK := proxy
default: deploy
deploy:
@docker stack deploy -c $(COMPOSE_FILE) $(STACK)
down:
@docker stack rm $(STACK)
network:
@docker network create --driver=overlay $(NETWORK)
logs:
@docker service logs -f $(STACK)_$(STACK)
.PHONY: deploy