Need help understanding storage volumes better.
I have added a storage volume to my service, and I set the mount path to
/static
. After app has finished building the volume is 149mb in the metrics chart.
In my node app, I upload some files, but the metric chart doesn't change it still says 149MB - so I think my files aren't ending up in the volume.
however, when I try url my-railway.url/static/my-file.png
I do see the image i just uploaded.
When I redeploy my service, my file is no longer visible in my app UI, nor on url my-rwailway.url/static/my-file.png
When I run my project locally, and uploade a file, it is placed in <node-project-root>/static/filename.etx
How can I find out where on disc my files are placed on production?
Thanks!4 Replies