fixes
This commit is contained in:
parent
90f278c0a3
commit
357b6c7316
18
Makefile
18
Makefile
|
@ -44,28 +44,28 @@ logs:
|
|||
maj_config: crd composer_install updb cim cr
|
||||
|
||||
crd:
|
||||
docker exec caravane-api-1 /bin/bash -c "drush cache-clear drush"
|
||||
docker exec caravane-php-1 /bin/bash -c "drush cache-clear drush"
|
||||
|
||||
cr:
|
||||
docker exec caravane-api-1 /bin/bash -c "drush cr"
|
||||
docker exec caravane-php-1 /bin/bash -c "drush cr"
|
||||
|
||||
updb:
|
||||
docker exec caravane-api-1 /bin/bash -c "drush updb -y"
|
||||
docker exec caravane-php-1 /bin/bash -c "drush updb -y"
|
||||
|
||||
cim:
|
||||
docker exec caravane-api-1 /bin/bash -c "drush config-import -y"
|
||||
docker exec caravane-php-1 /bin/bash -c "drush config-import -y"
|
||||
|
||||
composer_install:
|
||||
docker exec caravane-api-1 /bin/bash -c "composer install --no-dev"
|
||||
docker exec caravane-php-1 /bin/bash -c "composer install --no-dev"
|
||||
|
||||
down:
|
||||
docker-compose down
|
||||
|
||||
exec_api:
|
||||
docker exec -it caravane-api-1 bash
|
||||
exec_php:
|
||||
docker exec -it caravane-php-1 bash
|
||||
|
||||
restart_api:
|
||||
docker-compose restart api
|
||||
restart_php:
|
||||
docker-compose restart php
|
||||
|
||||
exec_mysql:
|
||||
docker exec -it caravane-mysql-1 bash
|
||||
|
|
|
@ -49,7 +49,7 @@ services:
|
|||
- "${SRC_ROOT}:/var/www/html/"
|
||||
- "${LOG_ROOT}/php:/var/log:rw"
|
||||
- "${XDEBUG_INI}:/usr/local/etc/php/conf.d/xdebug.ini"
|
||||
working_dir: "/var/www/html/src"
|
||||
working_dir: "/var/www/html/"
|
||||
networks:
|
||||
- database
|
||||
- redis
|
||||
|
|
Loading…
Reference in New Issue