14 days ago
When i build file and push to github each time deployment to railway my files inside uploads folders are getting empty
1 Replies
14 days ago
Each deployment creates a fresh container, so any files written to the filesystem (like an uploads folder) are lost. To persist files across deployments, you need to attach a volume to your service and set the mount path to your uploads directory (e.g., /app/uploads if your app writes to a relative ./uploads path).
Status changed to Awaiting User Response Railway • 14 days ago
7 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 7 days ago