This commit is contained in:
H3XploR
2025-07-08 18:00:20 +02:00
parent e6b9328cf5
commit 3b6d0a29ec
5 changed files with 9 additions and 152 deletions
+4
View File
@@ -1,13 +1,17 @@
#building container and creating directory for volumes
all:
mkdir -p /home/yantoine/data/db
mkdir -p /home/yantoine/data/wp
docker-compose -f srcs/docker-compose.yml up --build -d
#stopping container without deleting volumes
down:
docker-compose -f srcs/docker-compose.yml down
re: down all
#stopping container and deleting volumes
prune: down
docker system prune -a --volumes
docker volume rm srcs_db srcs_wp