From fd801957306c0c56eab7215c515e5adcef5a4c44 Mon Sep 17 00:00:00 2001 From: renator2 Date: Mon, 20 Jul 2026 11:14:27 -0300 Subject: [PATCH] #SVTH-575 - Comando para reiniciar containers --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 # ===============================