-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
53 lines (38 loc) · 786 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
include .env
pull:
docker-compose pull
dbuild:
docker-compose build
#make up
#make up s=service
#make up a="-f docker-compose.yml -f docker-compose.override.yml"
up:
docker-compose $(a) up -d $(s)
down:
docker-compose down
start:
docker-compose $(a) start
stop:
docker-compose $(a) stop
restart:
docker-compose restart $(s)
ls:
docker-compose ps
vol:
docker volume ls
log:
docker-compose logs python
#See docker-compose rm
#make rm a="--help"
rm:
docker system prune ${a} --all
#Container commands
penter:
docker-compose run python
#make prun d=ts_price_anomaly_detection s=view
prun:
docker-compose run python python /scripts/$(d)/$(s).py
renter:
docker-compose exec tidyverse sh
rrun:
docker-compose run tidyverse r /home/$(R_STUDIO_USER)/$(s).r