MongoDB via dockerfile on Railway
gv211432
HOBBYOP

a year 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

a year ago

hey!


a year ago

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


a year ago

i've been ghosted


gv211432
HOBBYOP

a year ago

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


gv211432
HOBBYOP

a year ago

I will provide you project id


a year ago

thats what this is for -


gv211432
HOBBYOP

a year ago

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


gv211432
HOBBYOP

a year ago

Project id


a year ago

let me know if this works for you


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...