laravel project in a docker container, cannot access my images - 403 forbidden
tried already setting the storage folder ownership to www-data and also my user, i tried chmod -R 7777 storage as well.
I also tried setting to www-data the whole /var/www.
I don't know what to try anymore, I don't have this problem in another computer where I have the project. Just cloned this one from gitlab.
Works on my own setup with docker. I had similar issues with docker. My problem was the path being different. I created my own symlink which was relative and it worked (yes laravel makes absolute paths)
@sinnbeck thanks a lot for your help, you pointed me in the solution's direction, the storage:link must be, of course, created logged into the docker container, i created it outside the it was redirecting to the outsider direction (/home/user/....., not /var/www/html/storage......
I am still having this issue getting 403 when accessing the image url on the browser. I have created the symlink using relative path, so lrwxr-xr-x 1 lykos staff 21B Feb 13 15:42 storage@ -> ../storage/app/public and also have added Options +FollowSymlinks in the htaccess file in public/ dir. I can cd and ls the content of public/storage either locally or withing the running php container, but still can't access the image url on the browser.. any further ideas please??