Mount your app with php-resque installed through Composer to
/usr/src/app. A PHP 7.1 binary with the pcntl and pgsql extensions enabled will then run the php-resque binary installed in your app.
Set the environment variables as needed by php-resque, most importantly
QUEUE is set to process all queues by default.