I am writing this blog for those people who are facing difficulties for setting up the queues with supervisor using docker. So we'll going to create a separate service of docker for supervisor to do better performance.
dockerfile: {path to file}/supervisor.dockerfile container_name: supervisor volumes: -./src:/var/www/html networks: - laravel Exit fullscreen mode then need to create a separate dockerfile for supervisor supervisor.dockerfile
Exit fullscreen mode after that we need to create a supervisord.conf configuration file and set the logs directory and etc... in it.