forked from RainLoop/rainloop-webmail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
56 lines (46 loc) · 1019 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
54
55
56
#!make
rebuild: stop
docker-compose build --no-cache
up:
docker-compose up -d
@$(MAKE) status
stop:
docker-compose stop
@$(MAKE) status
down:
docker-compose down
restart:
@$(MAKE) stop
@$(MAKE) up
status:
@docker-compose ps
tx:
@docker-compose run --no-deps --rm tx tx pull -a
console-node:
@docker-compose run --no-deps --rm node sh
console-tx:
@docker-compose run --no-deps --rm tx sh
console-php:
@docker-compose exec php sh
console:
@$(MAKE) console-node
logs:
@docker-compose logs --tail=100 -f
logs-db:
@docker-compose logs --tail=100 -f db
logs-php:
@docker-compose logs --tail=100 -f php
logs-node:
@docker-compose logs --tail=100 -f node
logs-nginx:
@docker-compose logs --tail=100 -f nginx
logs-mail:
@docker-compose logs --tail=100 -f mail
logs-tx:
@docker-compose logs --tail=100 -f tx
rl-dev:
@docker-compose run --no-deps --rm node gulp build
rl-build:
@docker-compose run --no-deps --rm node gulp all
rl-build-pro:
@docker-compose run --no-deps --rm node gulp all --pro