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:Jump to 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....
8 Replies
Project ID:
c4f31a27-b77c-49bf-8ba9-0c32bf396652
c4f31a27-b77c-49bf-8ba9-0c32bf396652
can you tell us why you are settling the variables in the github repo? is this for CI/CD stuff?
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
Deploy Your Medusa Backend to Railway | Medusa
Learn step-by-step.
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
Now I understand that those variable section is not necessary to change. Just I made misunderstanding. Thanks!
Their directions are not very clear. They mention selecting the GitHub card. I can understand where the confusion came from
Finally the deployment has succeed! Thanks a lot for quick support guys!