This commit is contained in:
Danny Houtworm 2023-06-25 03:14:43 +00:00
parent 438d313271
commit 23fa8b90e7
2 changed files with 22 additions and 6 deletions

View File

@ -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

0
setup.sh Normal file
View File