Makefile 532 Bytes
Newer Older
1
2
DOCKER_COMPOSE="$$(pwd)/data/scripts/docker-compose.sh"
COMPOSER="$$(pwd)/data/scripts/composer.sh"
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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:
22
	$(COMPOSER) --working-dir=data/typo3 install
23
composer-update:
24
	$(COMPOSER) --working-dir=data/typo3 up