Loading Payload in a Docker Container #353
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Hey @joecaraccio — generally this error is caused by a React app having two copies of React somehow. Most often it's seen with Do you have any custom Payload React components? Can you think of why you might have two copies of React installed? That's where I'd start. Also, I'm not as familiar with Docker + Node (always just run Node apps locally) but the way you're configuring your |
Beta Was this translation helpful? Give feedback.
-
Here's a functional compose file I have set up for local dev with payload:
|
Beta Was this translation helpful? Give feedback.
-
The latest version of Here is what it looks like if you're wanting to adapt it to an existing project:
|
Beta Was this translation helpful? Give feedback.
The latest version of
create-payload-app
will create a docker-compose file that is ready to use for development 🎉Here is what it looks like if you're wanting to adapt it to an existing project: