This commit is contained in:
H3XploR
2025-07-08 02:21:32 +02:00
parent 40328d2980
commit 4aed7a1cbb
23 changed files with 81 additions and 265 deletions
+7 -11
View File
@@ -1,15 +1,11 @@
NAME=inception
SRC_DIR=srcs
up:
docker compose -f $(SRC_DIR)/docker-compose.yml --env-file $(SRC_DIR)/.env up -d --build
all:
mkdir -p /home/yantoine/data/db
mkdir -p /home/yantoine/data/wp
docker-compose -f srcs/docker-compose.yml up --build -d
down:
docker compose -f $(SRC_DIR)/docker-compose.yml down
docker-compose -f srcs/docker-compose.yml down
re: down up
re: down all
fclean: down
docker system prune -af
.PHONY: up down re fclean
.PHONY: all down re