a month ago
I do have a project named "NyPhoto Website" with the Hobby licensing, and need to add volumes to my project so I can add database and images in it. How can it be done?
Thanks!
JNB
1 Replies
a month ago
To add a volume, press ⌘K (or Ctrl+K on Windows) to open the command palette and search for "volume", or just right-click anywhere on your project canvas and select the option to create one. You'll choose which service to attach it to and set a mount path—that's the directory where your app will read and write files.
For storing uploaded images, if your app writes to a relative path like ./uploads, you'd mount the volume to /app/uploads since Railway's builders put your code in /app by default.
For a database, the easiest route is to click the + New button on your canvas and add one of our database templates (Postgres, MySQL, MongoDB, etc.)—they come pre-configured with their own volumes automatically.
On the Hobby plan you can have up to 10 volumes per project, each up to 50 GB. More details in our volumes guide if you need them.
Status changed to Awaiting User Response Railway • about 1 month ago
a month 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 • about 1 month ago
