Is there any way to keep the images at /uploads on every deploy?
polcarva
HOBBYOP

2 years ago

I am developing a fullstack blog. At the moment, i storage the images that hte users uploads on a folder called /uploads. The problem with this is that, on every change, my /uploads folder resets, meaning that i loose all the images and i have to manually upload them again on every minimal change.

Solved

2 Replies

brody
EMPLOYEE

2 years ago

for sure, persistent storage is exactly what a volume is for!

https://docs.railway.app/guides/volumes


Status changed to Solved Railway almost 2 years ago


polcarva
HOBBYOP

2 years ago

Thanks!


Loading...