Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jantuitman's avatar

Laravel horizon dashboard and multiple machines

I am running laravel horizon. when i start php artisan horizon command on my developer machine (it is actually a docker image), jobs are being processed, and the dashboard in the browser shows status "active". However. If i use a second docker image that is actually identical to this first one, (to simulate multiple machines) and i start php artisan horizon there using supervisor, jobs are still being processed but the worker count is zero, and status stays "inactive".

I tried to get the dashboard page served from the same machine as where the workers run, and the rest of the website from the other machine. this works, but still "inactive" 0 workers, while the jobs just run fine.

So I wonder how is it supposed to work? does horizon dashboard get its worker information from redis or via another channel? Why might the dashboard think there are 0 workers while the jobs are just being processed fine (which means that both the website and the worker machine can access redis to enqueue and dequeue)?

0 likes
4 replies
wtoalabi's avatar

Were you able to get your answers?

I am processing my workers from a separate server, but would love to access the horizon dashboard from another.

What I got is, both machines have their own instance of horizon running. The dashboard shows the supervisor id from the second server...while the data that I want is on the first (worker) server, but it is not coming through.

One (the main worker server) is processing the job while the other is just there, doing nothing.

Curiously though, if I shut the worker server down, the horizon dashboard shows inactive.

Which means it is connecting to that server, but I guess my question is, why is it not pulling the data from that worker server?

Zeesab's avatar

Did anyone finally get this sorted?

Please or to participate in this conversation.