You just need to install the package in your laravel application and run horizon.
composer require performing/horizon-thread-poolYou need of course php true async, with docker it would be something like this:
services:
queue:
image: ghcr.io/performingdigital/php-async:latest
command: php -d memory_limit=-1 artisan horizon
working_dir: /app
healthcheck:
disable: true
volumes:
- ".:/app"
depends_on:
- mysql
- redis