forked from RainLoop/rainloop-webmail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
64 lines (53 loc) · 1.26 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
60
61
62
63
64
#!make
rebuild: _down
docker-compose build --no-cache
up: _up status
_up:
docker-compose up -d
stop: _stop status
_stop:
docker-compose stop
down: _down status
_down:
docker-compose down
restart: _stop _up status
status:
@docker-compose ps
tx:
@docker-compose run --no-deps --rm tx tx pull -a -s -f -d
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: 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-lint:
@docker-compose run --no-deps --rm node gulp lint
rl-dev:
@docker-compose run --no-deps --rm node gulp
rl-watch:
@docker-compose run --no-deps --rm node gulp watch
rl-build:
@docker-compose run --no-deps --rm node gulp all
rl-build-pro:
@docker-compose run --no-deps --rm node gulp all --pro
gpg:
docker run -it --rm -w=/var/www \
-v $(shell pwd)/.docker/.cache/.gnupg:/root/.gnupg \
-v $(shell pwd):/var/www \
ubuntu:latest bash