-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Update Redis connection string instructions for Railway #10246
Conversation
|
@qbitdoge is attempting to deploy a commit to the medusajs Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
Referring to this documentation, it says setting family=0
supports both IPv6 and IPv4 connections, so I think we should set it to that. Then we don't need to add the note about Redis.REDIS_PUBLIC_URL
Another thing: the REDIS_URL
is set in two places (for worker and server environments). Can you update it there?
Also, it would be great if you can update DATABASE_URL
as well to be ${{Postgres.RAILWAY_PRIVATE_DOMAIN}}
as this Railway change (regarding fees) seem to apply to it as well.
- Clarified instructions for enabling IPv6 by adding the ?family=0 suffix due to lack of IPv4 private networking support
@shahednasser thanks so much for the feedback and suggestions. |
www/apps/resources/app/deployment/medusa-application/railway/page.mdx
Outdated
Show resolved
Hide resolved
…age.mdx Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
@shahednasser done! anything else? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
Putting this here as there was some error with postgres. |
You're correct @waptik , when I used it in Railway's dashboard it showed me that the value was the full address but it wasn't. I'll open another PR to make the update |
Can you turn your working architecture into template because i followed the guide and my server instance has been crashing because of My variables
|
Thank you for your feedback, I would double check that you've followed every step, and if the error is still happening you can open an issue describing your error |
What
Updated the Railway Redis and Postgres connection string instructions:
DATABASE_URL
to use${{Postgres.RAILWAY_PRIVATE_DOMAIN}}
REDIS_URL
to use?family=0
to support both IPv6 and IPv4 connections.REDIS_URL
configurationWhy
Railway does not support IPv4 private networking, so users need clearer guidance to enable IPv6. Additionally, the egress fee note ensures users are aware of potential costs when using public endpoints.
How
Edited the relevant section in the documentation for clarity and conciseness.
Testing
Changes are text-only and have been reviewed for accuracy.