-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
56 lines (40 loc) · 1.25 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
help:
@echo "Development Docker compose console"
@echo
@echo "frontend - Starts frontend"
@echo "frontend.console - Frontend console"
@echo "frontend.build - Frontend build"
@echo "backend - Starts backend"
@echo "backend.console - Starts backend console"
@echo "backend.build - Backend build"
@echo "redis.console - Redis console"
@echo "mongo.console - MongoDB console"
@echo "ps - List of processes"
@echo "stop - Stop all processes"
@echo "kill - Kill current processes"
@echo "kill.all - Kill all docker processes"
@echo
frontend:
docker-compose up frontend
frontend.build:
docker-compose build frontend
frontend.console:
docker-compose run --rm frontend bash
backend:
docker-compose up backend
backend.build:
docker-compose build backend
backend.console:
docker-compose run --rm backend bash
redis.console:
docker-compose run --rm redis.console
mongo.console:
docker-compose run --rm mongo.console
ps:
docker-compose ps
stop:
docker-compose stop
kill.all:
docker ps -q | xargs docker kill
kill:
docker-compose kill