From 2f5bbceabd4507b86462113f6adb89fae8c25336 Mon Sep 17 00:00:00 2001 From: VladYoSlav Date: Sat, 22 Jun 2024 21:53:57 +0300 Subject: [PATCH] feat(make): down script --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2c3e555..583c40f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: env up pull update init +.PHONY: env up pull update init down ifeq ($(shell test -e '.env' && echo -n yes), yes) include .env @@ -24,6 +24,10 @@ pull: up: docker compose up --force-recreate --remove-orphans -d +## Down docker containers +down: + docker compose down + ## Pull & up containers update: make pull up