-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·26 lines (22 loc) · 1.18 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: mannouao <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/10/28 16:50:29 by mannouao #+# #+# #
# Updated: 2022/11/07 09:35:16 by mannouao ### ########.fr #
# #
# **************************************************************************** #
all:
sh ./srcs/requirements/tools/init.sh
cd srcs && docker-compose up -d --build
clean:
cd srcs && docker-compose down
fclean: clean
docker container prune -f
docker image prune -af
restart: fclean
docker system prune -af --volumes
rm -rf ${HOME}/data/db ${HOME}/data/wordpress ${HOME}/data/portainerDB