fTxUser
Explore posts from serversPayload-CMS and Railway
thanks brody, may I just ask why I had to add the empty yarn.lock file, if there was a package.json present? does that have something to do with the way railway is building the docker image or is that something related to payload cms?
18 replies
Payload-CMS and Railway
thanks Brody, I've tried that before, but now that I did it again, the container is running. minor victory 🙂
If I try to access the admin panel with https://payload.up.railway.app/admin I get a "Application failed to respond" error
18 replies
Payload-CMS and Railway
if createad two variables in the empty service that I've linked to Payload now.
PAYLOAD_SECRET with the Payload secret from my local env file and DATABASE_URI where I used the internal link to the Postgres db, that can also be added as DATABASE_URL.
I get the following error: [23:00:44] ERROR (payload): Error: cannot connect to Postgres. Details: getaddrinfo ENOTFOUND base
Just so I get this right. when pushing a project to RAILWAY I have to manually add the info from the env file as variables for the container, or are they still in there, but I can overwrite and add variables to the env file if I set the same variable to a different value on the Railway service container?
18 replies