-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
59 lines (49 loc) · 1.07 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
make: up
start:
python app.py
commit:
git pull && git commit --allow-empty -am "fix: empty commit for testing" && git push
commit-with-pipe:
cd ../ff-iac-github-actions; npm run commit && cd ../ff-svc-fastapi; npm run commit
install:
pip3 install \
--upgrade \
-r requirements.txt
rebuild:
docker-compose \
--project-name ff-cluster \
--file ./shared.docker-compose.yml \
build \
--force-rm \
--no-cache
up:
docker-compose \
--project-name ff-cluster \
--file ./shared.docker-compose.yml \
--log-level ERROR \
up -d \
&& make logs
down:
docker-compose \
--project-name ff-cluster \
--file ./shared.docker-compose.yml \
--log-level ERROR \
down
logs:
docker-compose \
--project-name ff-cluster \
--file ./shared.docker-compose.yml \
--log-level ERROR \
logs --tail 100 -f app-fastapi
restart:
docker-compose \
--project-name ff-cluster \
--file ./shared.docker-compose.yml \
--log-level ERROR \
restart app-fastapi \
&& make logs
ps:
docker-compose \
--project-name ff-cluster \
--file ./shared.docker-compose.yml \
ps