Multiple docker instances with load balancing #6584
-
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! |
Beta Was this translation helpful? Give feedback.
Answered by
matthijs166
Jun 23, 2024
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rilrom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.