16 lines
293 B
Makefile
16 lines
293 B
Makefile
all: up
|
|
|
|
build:
|
|
sudo docker network create --subnet=172.20.30.0/24 wordpress
|
|
mkdir ./build
|
|
|
|
up: build
|
|
sudo docker-compose -f ./srcs/docker-compose.yml up -d
|
|
|
|
down:
|
|
sudo docker-compose -f ./srcs/docker-compose.yml down
|
|
|
|
clean: down
|
|
yes | sudo docker system prune -a
|
|
rm -rf ~/data ./build
|