Skip to content

Commit

Permalink
Merge branch 'release/2.5.3' into craft-vite
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Mar 27, 2022
2 parents 61dd922 + d44b8b7 commit 6fdf062
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# nystudio107/craft Change Log

## 2.5.3 - 2022.03.26
### Changed
* Ensure permissions on directories Craft needs to write to

## 2.5.2 - 2022.03.26
### Added
* Added more logging to indicate when a container is waiting for another service to start up, and when seeding a database is complete
Expand Down
4 changes: 4 additions & 0 deletions docker-config/php-prod-craft/composer_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
# @link https://nystudio107.com/
# @license MIT

# Ensure permissions on directories Craft needs to write to
chown -R www-data:www-data /var/www/project/cms/storage
chown -R www-data:www-data /var/www/project/cms/web/cpresources
# Check for `composer.lock` & `vendor/`
cd /var/www/project/cms
if [ ! -f "composer.lock" ] || [ ! -d "vendor" ]; then
su-exec www-data composer install --verbose --no-progress --no-scripts --optimize-autoloader --no-interaction
Expand Down
3 changes: 3 additions & 0 deletions docker-config/php-prod-craft/run_queue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ while [ ! -f vendor/autoload.php ]
do
sleep 1
done
# Ensure permissions on directories Craft needs to write to
chown -R www-data:www-data /var/www/project/cms/storage
chown -R www-data:www-data /var/www/project/cms/web/cpresources
# Run any pending migrations/project config changes
su-exec www-data composer craft-update
# Run a queue listener
Expand Down

0 comments on commit 6fdf062

Please sign in to comment.