diff --git a/Makefile b/Makefile index 6cf07db..bf0c243 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ ENV_FILE = .env.$(ENV) PROJECT_NAME = attendancesystem-$(ENV) NETWORK_NAME = attendancesystem-network -.PHONY: infra app install update reset-network nuke nuke-project +.PHONY: infra app install update restart reset-network nuke nuke-project # =============================== # ๐Ÿงน Reset Network @@ -73,6 +73,12 @@ install: -f $(COMPOSE_FILE) \ up -d --pull never --force-recreate +# =============================== +# ๐Ÿ”„ Reiniciar containers ativos +# =============================== +restart: + docker restart $(docker ps -q) + # =============================== # ๐Ÿ”„ Atualizar projeto # ===============================