Shortly after posting my initial version to run Laravel queues with Supervisor on Coolify, I realised that I should also get supervisor
to run and control nginx
and php-fpm
as well. So here’s an updated version of the Nixpacks script to handle this.
The revised PHP provider
As before, I’ve added a nixpacks.toml
file to my project root, which gets picked up by Nixpacks and lets you extend the default PHP provider.