Compare commits

...

2 Commits

Author SHA1 Message Date
Bachir Soussi Chiadmi dfa6a644fa drupal update 2024-02-23 16:43:09 +01:00
Bachir Soussi Chiadmi 8b6958f226 removed drush launcher 2024-02-23 16:42:47 +01:00
3 changed files with 11 additions and 11 deletions

View File

@ -27,10 +27,10 @@ RUN pecl install xdebug-3.2.1 && \
RUN export COMPOSER_HOME=/usr/local/composer && \
curl -sS https://getcomposer.org/installer \
| php -- --install-dir=/usr/local/bin --filename=composer && \
curl https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar \
-L -o /usr/local/bin/drush && \
chmod +x /usr/local/bin/drush
| php -- --install-dir=/usr/local/bin --filename=composer
# curl https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar \
# -L -o /usr/local/bin/drush && \
# chmod +x /usr/local/bin/drush
RUN apt-get install -y rsyslog
COPY ./rsyslog-drupal.conf /etc/rsyslog.d/drupal.conf

View File

@ -38,25 +38,25 @@ logs:
maj_config: crd composer_install updb cim cr pag #dev.phpmyadmin.q2d.fr
crd:
docker exec q2d-php-1 /bin/bash -c "drush cache-clear drush"
docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush cache-clear drush"
composer_install:
docker exec q2d-php-1 /bin/bash -c "composer install --no-dev"
updb:
docker exec q2d-php-1 /bin/bash -c "drush updb -y"
docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush updb -y"
cim:
docker exec q2d-php-1 /bin/bash -c "drush config-import -y"
docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush config-import -y"
# sync_struct:
# docker exec q2d-php-1 /bin/bash -c "drush im --choice safe && drush ib --choice full"
# docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush im --choice safe && drush ib --choice full"
cr:
docker exec q2d-php-1 /bin/bash -c "drush cr"
docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush cr"
pag:
docker exec q2d-php-1 /bin/bash -c "drush pag all canonical_entities:node && drush pag all canonical_entities:taxonomy_term"
docker exec q2d-php-1 /bin/bash -c "vendor/bin/drush pag all canonical_entities:node && vendor/bin/drush pag all canonical_entities:taxonomy_term"
restart_nginx:
docker-compose restart nginx

2
src

@ -1 +1 @@
Subproject commit 0df718388c4a3e483d82bd75687081ef2a86b807
Subproject commit 44e475bdd550b7e925b38e8f1764edbcf7a7be09