Payload CMS deployment
I already :
1 - Double checked my env variables
2 - left my root directory as /
3 - Checked that the DockerFile was properly recognized
4 - Settle up my custom domain and added the right CNAME on the other side
5 - Checked that the build and deployment logs finshed successfully
But the deplyment still shows an error
This is my repo and all you need is a .env with this three variables to work:
https://github.com/cre8tive-studio/payload-leonardorick
MONGODB_URI=<>
PAYLOAD_SECRET=<>
SERVER_URL=http://localhost:4000/
Can someone help me?
Image
GitHub
GitHub - cre8tive-studio/payload-leonardorick: Payload CMS for Leon...
Payload CMS for Leonardo Rick portifolio website. Contribute to cre8tive-studio/payload-leonardorick development by creating an account on GitHub.
GitHub - cre8tive-studio/payload-leonardorick: Payload CMS for Leon...
GitHub
GitHub - cre8tive-studio/payload-leonardorick: Payload CMS for Leon...
Payload CMS for Leonardo Rick portifolio website. Contribute to cre8tive-studio/payload-leonardorick development by creating an account on GitHub.
6 Replies
Project ID:
a228b5bd-4ecf-4324-9a46-a42e4bd077ad
project ID:
a228b5bd-4ecf-4324-9a46-a42e4bd077ad
What is the error being shown?
I will try to create a one click payload template for railway this weeknd
Idk if its on u to change this, but I know the Directus CMS template currently works on railway
after looking very briefly at your code, I think this docs page would solve your issues
https://docs.railway.app/troubleshoot/fixing-common-errors
Thanks! I settle up the
process.env.PORT
on my application and used. Now this is working 🙂great!