2023-10-04 10:01:11 -04:00
|
|
|
all: up
|
|
|
|
|
|
|
|
run:
|
2023-10-07 11:01:56 -04:00
|
|
|
@mkdir -p /home/cchauvet/data/wp-files
|
|
|
|
@mkdir -p /home/cchauvet/data/wp-db
|
2023-10-05 09:45:59 -04:00
|
|
|
docker-compose -f srcs/docker-compose.yml up --build -d
|
|
|
|
|
|
|
|
fclean:
|
|
|
|
-docker rm -f `docker ps -aq`
|
|
|
|
-docker volume rm -f `docker volume ls -q`
|
|
|
|
-docker image rm -f `docker image ls -aq`
|
2023-10-07 11:01:56 -04:00
|
|
|
-docker network rm `docker network ls -q`
|
2023-10-05 09:45:59 -04:00
|
|
|
-docker builder prune --all --force
|
2023-10-07 11:01:56 -04:00
|
|
|
rm -rf /home/cchauvet/data/wp-files /home/cchauvet/data/wp-db
|
2023-10-04 10:01:11 -04:00
|
|
|
|
2023-10-05 09:45:59 -04:00
|
|
|
up: run
|