all: up build: sudo docker network create --subnet=172.20.30.0/24 wordpress sudo mkdir -p ./build /home/djonker/data/adminer sudo curl -f https://wordpress.org/latest.tar.gz --output /home/djonker/data/latest.tar.gz sudo tar -xvf /home/djonker/data/latest.tar.gz sudo mv wordpress /home/djonker/data/wordpress sudo cp srcs/requirements/wordpress/srcs/wordpress.conf /home/djonker/data/wordpress/wp-config.php sudo curl -f https://downloads.wordpress.org/plugin/w3-total-cache.2.4.1.zip --output /home/djonker/data/rediscache.zip sudo unzip /home/djonker/data/rediscache.zip sudo mv w3-total-cache /home/djonker/data/wordpress/wp-content/plugins/w3-total-cache sudo chown -R 33:33 /home/djonker/data/wordpress sudo curl -L https://github.com/vrana/adminer/releases/download/v4.8.1/adminer-4.8.1.php --output /home/djonker/data/adminer/adminer.php 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 sudo rm -rf /home/djonker/data ./build