fix: chown storage to www-data for FPM write access
This commit is contained in:
parent
db15a71378
commit
3832aaa9d8
|
|
@ -9,6 +9,7 @@ services:
|
||||||
command: >-
|
command: >-
|
||||||
sh -c "composer install --no-interaction
|
sh -c "composer install --no-interaction
|
||||||
&& mkdir -p storage/logs storage/framework/views storage/framework/cache
|
&& 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
|
&& chmod -R 775 storage bootstrap/cache
|
||||||
&& php artisan migrate --force
|
&& php artisan migrate --force
|
||||||
&& php-fpm"
|
&& php-fpm"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue