I need help regarding railwayignore
I have a file named setting.json file in my backend file, which is set as gitignore. setting.json file has country changes which are done by user. But when i do a push to backend, railway takes the changes that has in settings.json in git repo. I want railway to ignore that file so that it does not override the data. Is this possible?
MERN Stack
5 Replies
Project ID:
N/A
NA
Project ID: 15849390-ab02-453f-aab6-b3a62f43447f
railway isn't overwriting the file, it's just not there on the next deployment because you are storing that file in the containers empherial storage, you want to store that file in a volume
how can i do that?
mount a volume to for example
/app/settings
then you store this settings.json in that path