-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (20 loc) · 922 Bytes
/
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
27
28
29
30
31
run:
@echo "\033[0;34m[#] Killing old docker processes\033[0m"
docker compose down -t 1
@echo "\033[0;34m[#] Building docker containers\033[0m"
docker compose -f docker-compose.yml up -d --build
@echo "\033[0;34m[#] Containers are now running!\033[0m"
stop:
@echo "\033[0;34m[#] Killing old docker processes\033[0m"
docker compose down -t 1
@echo "\033[0;34m[#] Containers are now stopped!\033[0m"
run-acceptance:
@echo "\033[0;34m[#] Killing old docker processes\033[0m"
docker compose -f docker-compose.acceptance.yml down -t 1
@echo "\033[0;34m[#] Building docker containers\033[0m"
docker compose -f docker-compose.acceptance.yml up -d --build
@echo "\033[0;34m[#] Containers are now running!\033[0m"
stop-acceptance:
@echo "\033[0;34m[#] Killing old docker processes\033[0m"
docker compose -f docker-compose.acceptance.yml down -t 1
@echo "\033[0;34m[#] Containers are now stopped!\033[0m"