Makefile 505 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DOCKER_COMPOSE="$$(pwd)/docker-compose.sh"
up:
	$(DOCKER_COMPOSE) up -d
ps:
	$(DOCKER_COMPOSE) ps
init:
	$(MAKE) composer-install
stop:
	$(DOCKER_COMPOSE) stop
kill:
	$(DOCKER_COMPOSE) kill
build:
	$(DOCKER_COMPOSE) build --no-cache
pull:
	$(DOCKER_COMPOSE) pull
log:
	$(DOCKER_COMPOSE) logs -f --tail=100
down:
	$(DOCKER_COMPOSE) down --remove-orphans
composer-install:
	$(DOCKER_COMPOSE) run --rm --no-deps php composer install
22
23
composer-update:
	$(DOCKER_COMPOSE) run --rm --no-deps php composer update