#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)
|
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
|
||||||
# ===============================
|
# ===============================
|
||||||
|
|||||||
Reference in New Issue
Block a user