R
Railway16mo ago
mago

Deployment crash due to redis url error

I set REDIS_URL variables for Github Repo with the format of below. ${{Redis.redis://default:[email protected]:XXXX}} But the deployment keep getting crashed with error below. ------- redis_url not found. A fake redis instance will be used. ------- Could advice how to fix the format of the variable?
Solution:
I set REDIS_URL variables for Github Repo with the format of below. ${{Redis.redis://default:[email protected]:XXXX}} But the deployment keep getting crashed with error below....
Jump to solution
8 Replies
Percy
Percy16mo ago
Project ID: c4f31a27-b77c-49bf-8ba9-0c32bf396652
mago
mago16mo ago
c4f31a27-b77c-49bf-8ba9-0c32bf396652
Brody
Brody16mo ago
can you tell us why you are settling the variables in the github repo? is this for CI/CD stuff?
mago
mago16mo ago
Hi Brody, thanks for supporting! I'm setting them by following instruction provided by Medusa https://docs.medusajs.com/deployments/server/deploying-on-railway#configure-environment-variables
Brody
Brody16mo ago
I'm not too sure why they have you adding your variables to github, these variables are required by railway, not github, try adding them to the railway service instead
mago
mago16mo ago
Now I understand that those variable section is not necessary to change. Just I made misunderstanding. Thanks!
MantisInABox
MantisInABox16mo ago
Their directions are not very clear. They mention selecting the GitHub card. I can understand where the confusion came from
mago
mago16mo ago
Finally the deployment has succeed! Thanks a lot for quick support guys!
Want results from more Discord servers?
Add your server