Need Mongo replica set to work with sessions

I am evaluating Railway for our product and found out that URI railway shares isn't for a replica set. Our application uses mongodb sessions and it can only be used with a mongodb replica set. Is there any way we can get it working with Railway? Thanks!
5 Replies
angelo
angelo2y ago
I don't think we support this usecase. Our Mongo is a single instance. You may want to use Atlas for this use-case!
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
angelo
angelo2y ago
Yes, absolutely, we are working on adding multiple DBs of the same type.
JustJake
JustJake2y ago
@harshjv and @owenr88 please upvote this to keep track of it https://feedback.railway.app/feature-requests/p/read-replicas-for-databases
Nacho Codoñer
Nacho Codoñer8mo ago
Finally is possible! Here I achieved to have my mongodb replica setup. Check it out for an explanation of the process I did: https://discord.com/channels/713503345364697088/1175311111634026496/1175345555942150214