Correct PHP-FPM socket permissions
Create nginx-php build that changes the uid of www-data to match the owner of the document root
Create mysql build that changes the uid of mysql to match that of the data directory