[www] user = www-data group = www-data ; nginx now runs in the same container, so php-fpm no longer needs to be ; reachable from the network. Binding to loopback removes that exposure. listen = 127.0.0.1:9000 listen.owner = www-data listen.group = www-data pm = dynamic pm.max_children = 20 pm.start_servers = 4 pm.min_spare_servers = 2 pm.max_spare_servers = 6 pm.max_requests = 500 ; Surface worker output in `docker logs` instead of swallowing it. catch_workers_output = yes decorate_workers_output = no ; php-fpm sanitizes the environment by default, which would hide every Dokploy ; env var from Laravel. clear_env=no is what makes config-from-env work. clear_env = no ; Log slow requests (PDF import/generation) to help diagnose timeouts. slowlog = /proc/self/fd/2 request_slowlog_timeout = 30s