-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
49 lines (33 loc) · 929 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
.PHONY: build dev-up dev-start dev-stop up start stop data shell-nginx shell-web shell-db log-nginx log-web log-ps log-rmq log-worker
build:
docker-compose -f docker-compose.yml -f docker-compose.override-dev.yml build
dev-up:
docker-compose -f docker-compose.yml -f docker-compose.override-dev.yml up
dev-start:
docker-compose -f docker-compose.yml -f docker-compose.override-dev.yml start
dev-stop:
docker-compose -f docker-compose.yml -f docker-compose.override-dev.yml stop
up:
docker-compose up -d
start:
docker-compose start
stop:
docker-compose stop
data:
docker volume create --name=laas-data
shell-nginx:
docker exec -ti ng01 bash
shell-web:
docker exec -ti dg01 bash
shell-db:
docker exec -ti ps01 bash
log-nginx:
docker-compose logs nginx
log-web:
docker-compose logs web
log-ps:
docker-compose logs postgres
log-rmq:
docker-compose logs rabbitmq
log-worker:
docker-compose logs worker