Where do all the folders go?
I'm using this volume as storage for my site. The point is that in the GitHub repository I have a media folder where I save folders with files. I also created a volume and specified the path as
/media
. But the problem is that every time I make pull request
in the main branch - railway automatically updates the site and when I go to the page all previously uploaded files - somewhere disappear, please tell me what I did wrong and how to avoid this?Solution:Jump to solution
try mounting the volume to
/app/media
since your repo is placed in the /app
directory5 Replies
Project ID:
f8cc6b6a-813b-4d34-b2f8-20c87fba3048
f8cc6b6a-813b-4d34-b2f8-20c87fba3048
Solution
try mounting the volume to
/app/media
since your repo is placed in the /app
directoryThat seemed to help, thank you very much
no problem!