-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
36 lines (26 loc) · 976 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
32
33
34
35
36
ME=$(USER)
all: up
setup:
./packages/scripts/src/bash/create-env.sh
./packages/scripts/src/bash/create-sample-data.sh
# Run with env variable tag version like: TAG='v0.1.1' make up
up:
docker-compose up -d
# Run with env variable tag version like: TAG='v0.1.1' make stop
stop:
docker-compose stop
# Run with env variable tag version like: TAG='v0.1.1' make rm
rm:
docker-compose rm -vf
# Run with env variable tag version like: TAG='v0.1.1' make up-utils
up-utils:
docker-compose -f docker-compose.dev-utils.yaml up -d
# Run with env variable tag version like: TAG='v0.1.1' make stop-utils
stop-utils:
docker-compose -f docker-compose.dev-utils.yaml stop
# Run with env variable tag version like: TAG='v0.1.1' make rm-utils
rm-utils:
docker-compose -f docker-compose.dev-utils.yaml rm -vf
# Run with env variable tag version like: TAG='v0.1.1' make load-sample-data
load-sample-data:
./packages/scripts/src/bash/docker-import-data-from-sample.sh -t $(TAG)