Here's how I run a PHP application in production using Docker Compose to build the images, NGINX and PHP-FPM. This works perfectly for platforms that allow you to deploy apps using Docker Compose like Coolify, and you can also easily roll back because the code is baked into the image.