MongoDB via dockerfile on Railway

2 years ago

I'm trying to deploy a MongoDB database using a Dockerfile, but it's crashing because it can't find the attached volume. I have attached volume at /data/db on railway, and the same file runs without issues on my local machine. I suspect there's an issue with the volume path configuration. Could you help me resolve this?

Solved

10 Replies

2 years ago

hey!


2 years ago

to understand the problem better, is there any reason you can't use our mongo database?


2 years ago

i've been ghosted


2 years ago

Sorry for the delayed response. Prisma doesn't support your MongoDB setup because it requires MongoDB to run in a replica set.


2 years ago

I will provide you project id


2 years ago

thats what this is for -


2 years ago

6aa6f2b8-19b5-4d27-a42a-72623e86b6ae


2 years ago

Project id


2 years ago

let me know if this works for you


2 years ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...