Deploy with Postgres Variable Path
rsnail
PROOP

a year ago

Hello,

I am stuck. I just want to include the database url variable to my deploy command. I have tried adding to Dockerfile, railway.toml and the console. i just need "app --database DATABASE_URL" Any suggestions?

Solved

1 Replies

a year ago

Hello,

Given you are deploying with a Dockerfile, your $.deploy.startCommand needs to be wrapped in a shell interpreter.

/bin/sh -c "exec /nakama/nakama --database.address $DATABASE_URL"

https://docs.railway.com/guides/start-command


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...