TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.33k stars 721 forks source link

setting permission to properly handle file uploads #179

Closed jorguerra closed 1 month ago

jorguerra commented 1 month ago

Hi, I am using your image and I am having problems to handle file uploads even mounting a volume with docker compose with :rw. I was used to run php-fpm and nginx as root configuring the users but these configs do not work with the processes are run as root user.