#SVTH-575 - Comando para reiniciar containers

This commit is contained in:
2026-07-20 11:14:27 -03:00
parent 112fec141e
commit fd80195730

View File

@@ -5,7 +5,7 @@ ENV_FILE = .env.$(ENV)
PROJECT_NAME = attendancesystem-$(ENV) PROJECT_NAME = attendancesystem-$(ENV)
NETWORK_NAME = attendancesystem-network 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 # 🧹 Reset Network
@@ -73,6 +73,12 @@ install:
-f $(COMPOSE_FILE) \ -f $(COMPOSE_FILE) \
up -d --pull never --force-recreate up -d --pull never --force-recreate
# ===============================
# 🔄 Reiniciar containers ativos
# ===============================
restart:
docker restart $(docker ps -q)
# =============================== # ===============================
# 🔄 Atualizar projeto # 🔄 Atualizar projeto
# =============================== # ===============================