You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
592 B
34 lines
592 B
3 years ago
|
auth:
|
||
|
docker exec -it -u1000:1000 dto2data_php bash
|
||
|
|
||
|
auth-root:
|
||
|
docker exec -it dto2data_php bash
|
||
|
|
||
|
test:
|
||
|
bin/codecept run $p
|
||
|
|
||
|
coverage:
|
||
|
vendor/bin/codecept run --coverage --coverage-html=/app/var/temp.html
|
||
|
|
||
|
# make out container
|
||
|
coverage-open:
|
||
|
google-chrome var/temp.html/index.html
|
||
|
|
||
|
#docker
|
||
|
start:
|
||
|
docker-compose up -d
|
||
|
stop:
|
||
|
docker-compose down
|
||
|
pull:
|
||
|
docker-compose pull
|
||
|
restart: stop start
|
||
|
restart-php:
|
||
|
docker-compose restart backend-php-fpm
|
||
|
down-clear:
|
||
|
docker-compose down -v --remove-orphans
|
||
|
init: down-clear pull start
|
||
|
|
||
|
#prepare
|
||
|
prepare-environment:
|
||
|
bash bin/docker/prepare.sh
|