New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write access for application/public folder #227
Comments
So you need to concentrate on the php-fpm container in fact, if you want to process file uploads. nginx does very little on this setup beyond serving as an HTTP way in into php-fpm. The php container runs fpm at id
|
Oh man, I tried the right things on the wrong container. It works now as expected ... I used till yet a classical LAMP stack ... This hint would be usefull for README, FAQ or something like that. |
No problemo 👍 happy to help
Absolutely. If you could put it into words and have a few minutes, I would appreciate it if you could open a pull request to the README template used in the generator with how you made it work. It doesn't have to be perfect. |
File permission advice as talked about in #227
Hi,
I read the readme now multiple times and searched the issues.
I read the issue #154 and I looked at the https://hub.docker.com/_/nginx, which says that the nginx:alpine is running with: uid=101(nginx) gid=101(nginx) groups=101(nginx)
I'm trying to find the right userid/groupid that the webserver can habe write access to the application/public folder.
public folder with owner to be my host user --> server doesn't have write access
Setting files to 101:101 (
sudo docker exec -it sitemap-dev-webserver chown -R nginx:nginx /application/public
) --> server does'nt have write accessWhich part am I missing?
This could be interesting for the readme or tutorial section #204
The text was updated successfully, but these errors were encountered: