forked from Patrik-Stas/indyscan
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
61 lines (43 loc) · 1.34 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
57
58
59
## ES
es-up:
docker-compose -f docker-compose.es.yml up && \
make logs-es
es-logs:
docker-compose -f docker-compose.es.yml logs -f
es-down:
docker-compose -f docker-compose.es.yml down --remove-orphans
es-destroy:
docker-compose -f docker-compose.es.yml down --remove-orphans --volumes
## Full Indyscan + ES
logs:
docker-compose -f docker-compose.yml -f docker-compose.es.yml logs -f
up:
docker-compose -f docker-compose.yml -f docker-compose.es.yml up && \
make logs
down:
docker-compose -f docker-compose.yml -f docker-compose.es.yml down --remove-orphans
destroy:
docker-compose -f docker-compose.yml -f docker-compose.es.yml down --remove-orphans --volumes
new:
make destroy && \
docker-compose -f docker-compose.yml -f docker-compose.es.yml up -d && \
make logs
## IDunion
idunion:
make idunion_new
idunion_new:
make idunion_destroy && \
docker-compose -f docker-compose.idunion.yml up -d && \
make idunion_npm_audit_fix && \
make idunion_logs
idunion_npm_audit_fix:
sh npm_audit_fix.idunion.sh
idunion_up:
docker-compose -f docker-compose.idunion.yml up && \
make idunion_logs
idunion_down:
docker-compose -f docker-compose.idunion.yml down --remove-orphans
idunion_logs:
docker-compose -f docker-compose.idunion.yml logs
idunion_destroy:
docker-compose -f docker-compose.idunion.yml down --remove-orphans --volumes