Horizontal scaling with Docker

mason chaka year ago

Hi,

I deployed a Traccar instance on two servers, with one server hosting the database. I configured horizontal scaling in the standard deployment, and everything works fine.

Now, I want to switch to Docker. However, in Docker's bridge network mode, horizontal scaling is not functioning, and we can't use the host network mode due to security issues. What is your advice on making horizontal scaling work in Docker with multicast?

Thank you.

Track-tracea year ago

Just for my info, which load balancer did you use for horizontal scaling ? Interesting to know how you did that setup.

Anton Tananaeva year ago

You can use Redis instead on multicast.

mason chaka year ago

Actually i don't have any load balancer yet.
i will try Redis tnx.