Fixed the binding of the logs volume in the docker-compose so /var/www/logs in the container now maps to the local logs folder / directory. Also mounted /var/logs so xdebug.log and the apache2 logs are available locally. Created a docs/local-dev.md with tips and tricks (+ FAQ) for local development and a setup.sh for *nix like systems to setup folder permissions correctly.
For example, this is now what you'll see in the browser with a failed login (note the lack of errors about writing the error.log!):
Here is what the same error created in the logs/error.log (note with the latest update this will be in logs/www/error.log)
Fixed the binding of the logs volume in the docker-compose so /var/www/logs in the container now maps to the local logs folder / directory. Also mounted
/var/logs
so xdebug.log and the apache2 logs are available locally. Created adocs/local-dev.md
with tips and tricks (+ FAQ) for local development and asetup.sh
for *nix like systems to setup folder permissions correctly.For example, this is now what you'll see in the browser with a failed login (note the lack of errors about writing the error.log!):
Here is what the same error created in the
logs/error.log
(note with the latest update this will be inlogs/www/error.log
)(edited 6 Mar to reflect change of scope)