Answer the question
In order to leave comments, you need to log in
How to set permissions when working with laravel on docker?
I install laravel, add files there to raise docker
docker is connected images via docker-compose nginx, php-fpm, mariadb.
In php-fpm, I install composer
, set the rights to the storage folder for www-data: www-data, the rest of the files have permissions of 1000:1000 and everything works fine.
Then I save the state via git and send it to the remote repository.
great, now I download it all to another folder for testing, I run docker-compose up
I go into the container, I execute composer install and ... the page returns 500
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question