#SVTH-575 - Comando para reiniciar containers
This commit is contained in:
8
Makefile
8
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
|
||||
# ===============================
|
||||
|
||||
Reference in New Issue
Block a user