bla
This commit is contained in:
parent
0ac30eb1ea
commit
dc17b3b9cf
15
Makefile
15
Makefile
@ -5,21 +5,12 @@ build:
|
|||||||
mkdir ./build
|
mkdir ./build
|
||||||
|
|
||||||
up: build
|
up: build
|
||||||
sudo docker-compose -f ./srcs/mariadb/docker-compose.yml up -d
|
sudo docker-compose -f ./srcs/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:
|
||||||
sudo docker-compose -f ./srcs/mariadb/docker-compose.yml down
|
sudo docker-compose -f ./srcs/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
|
|
||||||
|
|
||||||
clean: down
|
clean: down
|
||||||
sudo docker network rm wordpress
|
sudo docker network rm wordpress
|
||||||
|
sudo docker system prune
|
||||||
rm -rf ./data ./build
|
rm -rf ./data ./build
|
||||||
|
@ -2,7 +2,7 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: ./srcs/requirements/nginx/Dockerfile
|
build: ./srcs/requirements/nginx
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
@ -15,7 +15,7 @@ services:
|
|||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
mariadb:
|
mariadb:
|
||||||
image: ./srcs/requirements/mariadb/Dockerfile
|
build: ./srcs/requirements/mariadb
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user