Has anyone got Horizon Dashboard working on a server separate from the actual worker server?
I have 3 servers, app (web), DB and worker, I want the worker server to run Horizon but I'd like to use the app server to use the Horizon dashboard, both instances point towards the same redis server, but I not sure if I'm setting up my horizon config correctly.
I have the following config:
'environments' => [ 'local' => [ 'supervisor-1' => [ 'maxProcesses' => 3, ], ], 'worker' => [ 'supervisor-1' => [ 'connection' => 'redis', 'queue' => ['data_importers_fast'], 'balance' => 'simple', 'processes' => 1, 'tries' => 3, 'timeout' => 6000, 'memory' => 128 ], 'supervisor-2' => [ 'connection' => 'redis', 'queue' => ['data_importers_slow'], 'balance' => 'simple', 'processes' => 1, 'tries' => 3, 'timeout' => 6000, 'memory' => 128 ], 'supervisor-3' => [ 'connection' => 'redis', 'queue' => ['auth_refreshers'], 'balance' => 'simple', 'processes' => 1, 'tries' => 3, 'timeout' => 6000, 'memory' => 128 ], 'supervisor-4' => [ 'connection' => 'redis', 'queue' => ['default'], 'balance' => 'simple', 'processes' => 1, 'tries' => 3, 'timeout' => 6000, 'memory' => 128 ] ],
],
I have set the env on the worker server to 'worker' but the dashboard only displays pending jobs, and doesn't show anything about the processes running. I'm completely blind as to what my queues are doing because of this so some help would be greatly appreciated!
Please or to participate in this conversation.