Closed roman-yakimkin closed 5 years ago
Hi,
laravel.log
, is it created by Laravel? make shell
if you have Makefile or docker exec -ti [PHP CONTAINER ID] sh
@roman-yakimkin you should set the PHP_FPM_USER
and PHP_FPM_GROUP
environment variables for the php
container to wodby
so that FPM has write access.
yes, that's one of the options, less secure but totally fine for the local development
What do you propose for the production environment?
Have this file owned by www-data
so FPM could write to it or owned by wodby
and have www-data
group with group writing permissions.
Hello. I'm a novice in docker. I need to work with Laravel using docker-compose and I decided to use this solution. I managed to set up containers and install Laravel. But I encountered some problems.