From 357b6c7316b274a53333871803f159d82375d073 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 9 Jul 2024 15:24:56 +0200 Subject: [PATCH] fixes --- Makefile | 18 +++++++++--------- docker-compose.yml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 2d6f1d8..9a7d695 100644 --- a/Makefile +++ b/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 diff --git a/docker-compose.yml b/docker-compose.yml index 73ed1e8..9c762c4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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