Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Multiple docker instances with load balancing

default discord avatar
rilrom11 months ago
1 1

Hi everyone.

Could someone please help me understand if there’s any issues with Payload running over multiple docker instances with load balancing? Does it need some sort of common storage location or shared cache? I’m using the custom server approach with Next.js.

Thanks!

  • Selected Answer
    default discord avatar
    matthijs16610 months ago

    Sounds like a cool project!

    For the media storage, it's essential to use a shared location or cloud-based solution, such as the one offered by the Payload CMS Cloud Storage Plugin.

    Additionally, ensure that all instances are connected to the same database to maintain consistency.

    I don’t anticipate any other significant issues.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.