bla
This commit is contained in:
parent
438d313271
commit
23fa8b90e7
28
Makefile
28
Makefile
@ -1,9 +1,25 @@
|
|||||||
up:
|
all: up
|
||||||
bash something.sh
|
|
||||||
|
build:
|
||||||
|
sudo docker network create --subnet=172.20.30.0/24 wordpress
|
||||||
|
mkdir ./build
|
||||||
|
|
||||||
|
up: build
|
||||||
|
sudo docker-compose -f ./srcs/mariadb/docker-compose.yml up -d
|
||||||
|
sudo docker-compose -f ./srcs/wordpress/docker-compose.yml up -d
|
||||||
|
sudo docker-compose -f ./srcs/nginx/docker-compose.yml up -d
|
||||||
|
sudo docker-compose -f ./srcs/redis/docker-compose.yml up -d
|
||||||
|
sudo docker-compose -f ./srcs/ftp/docker-compose.yml up -d
|
||||||
|
sudo docker-compose -f ./srcs/adminer/docker-compose.yml up -d
|
||||||
|
|
||||||
down:
|
down:
|
||||||
bash something.sh
|
sudo docker-compose -f ./srcs/mariadb/docker-compose.yml down
|
||||||
|
sudo docker-compose -f ./srcs/wordpress/docker-compose.yml down
|
||||||
clean:
|
sudo docker-compose -f ./srcs/nginx/docker-compose.yml down
|
||||||
bash something.sh
|
sudo docker-compose -f ./srcs/redis/docker-compose.yml down
|
||||||
|
sudo docker-compose -f ./srcs/ftp/docker-compose.yml down
|
||||||
|
sudo docker-compose -f ./srcs/adminer/docker-compose.yml down
|
||||||
|
|
||||||
|
clean: down
|
||||||
|
sudo docker network rm wordpress
|
||||||
|
rm -rf ./data ./build
|
||||||
|
Loading…
Reference in New Issue
Block a user