Skip to content

Commit

Permalink
ADD : added a new rule to delete the log files
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguar-ks committed Dec 31, 2024
1 parent 6172040 commit 3f39e4f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ all: build
build:
docker-compose -f docker-compose.yml build

up: build
up:
docker-compose -f docker-compose.yml up

down:
Expand All @@ -27,6 +27,11 @@ init_vault:
rm -rf ./srcs/api/cred.env
rm -rf ./srcs/api/django-cred.json

.PHONY: all build up down delete_images fclean init_vault
remove_log:
rm -rf ./srcs/postgres/logs/*
rm -rf ./srcs/vault/logs/*
rm -rf ./srcs/redis/logs/*

.SILENT: all build up down delete_images fclean init_vault
.PHONY: all build up down delete_images fclean init_vault remove_log

.SILENT: all build up down delete_images fclean init_vault remove_log

0 comments on commit 3f39e4f

Please sign in to comment.