Hi, did you ever come right? I have the exact same setup. I got the worker with redis working but am struggling to get the Reverb side working through a load balancer.
Horizon and Reverb on Forge
Hey there,
We're changing our monolith infrastructure to a microservice-like approach with a load balancer and separate servers for various tasks.
There are two things that are unclear:
Horizon
I have created a worker server and activated Horizon on that server. But how do I configure the .env to have all the jobs go through Horizon on that worker server? This is what I have in the .env:
BROADCAST_CONNECTION=reverb
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
I have the redis running on a separate Cache server. But how do I tell my app to connect to the Worker server for jobs when running with Horizon?
Reverb
Do I set a new Web server with the same source branch and set Reverb's .env config for all the web servers and Reverb's server to be the same (app id, key, secret, etc)? Also do I need to create an SSL certificate for the REVERB_HOST subdomain (ws.) on the Reverb server?
Please or to participate in this conversation.