This commit is contained in:
Danny Houtworm 2023-06-25 05:03:46 +00:00
parent 0ac30eb1ea
commit dc17b3b9cf
2 changed files with 5 additions and 14 deletions

View File

@ -5,21 +5,12 @@ build:
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
sudo docker-compose -f ./srcs/docker-compose.yml up -d
down:
sudo docker-compose -f ./srcs/mariadb/docker-compose.yml down
sudo docker-compose -f ./srcs/wordpress/docker-compose.yml down
sudo docker-compose -f ./srcs/nginx/docker-compose.yml down
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
sudo docker-compose -f ./srcs/docker-compose.yml down
clean: down
sudo docker network rm wordpress
sudo docker system prune
rm -rf ./data ./build

View File

@ -2,7 +2,7 @@ version: '3'
services:
nginx:
image: ./srcs/requirements/nginx/Dockerfile
build: ./srcs/requirements/nginx
container_name: nginx
restart: always
volumes:
@ -15,7 +15,7 @@ services:
- 80:80
- 443:443
mariadb:
image: ./srcs/requirements/mariadb/Dockerfile
build: ./srcs/requirements/mariadb
container_name: mariadb
restart: always
volumes: