add persistent storage on postgres and django

This commit is contained in:
2024-11-09 16:23:05 +01:00
parent 0184706c3a
commit bfd45be93b
7 changed files with 30 additions and 35 deletions

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/10/28 19:26:13 by tomoron #+# #+# #
# Updated: 2024/10/28 19:26:16 by tomoron ### ########.fr #
# Updated: 2024/11/08 19:47:48 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -18,19 +18,22 @@ all: up
up:
$(COMPOSE) up --build -d
up_att:
$(COMPOSE) up --build
watch:
$(COMPOSE) watch
down:
$(COMPOSE) down -v
clean:
$(COMPOSE) down -v
docker system prune -af --volumes
down:
$(COMPOSE) down
clean: down
docker system prune -af
fclean:clean
$(COMPOSE) down -v
docker system prune -af
re: fclean all