Skip to content

Commit

Permalink
feat(make): down script
Browse files Browse the repository at this point in the history
  • Loading branch information
vladyoslav committed Jun 22, 2024
1 parent 255ff99 commit 2f5bbce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2f5bbce

Please sign in to comment.