fix: chown storage to www-data for FPM write access

This commit is contained in:
Thorsten Bus 2026-03-30 22:35:20 +02:00
parent db15a71378
commit 3832aaa9d8

View file

@ -9,6 +9,7 @@ services:
command: >-
sh -c "composer install --no-interaction
&& mkdir -p storage/logs storage/framework/views storage/framework/cache
&& chown -R www-data:www-data storage bootstrap/cache
&& chmod -R 775 storage bootstrap/cache
&& php artisan migrate --force
&& php-fpm"