R
Railway•9mo ago
dan

Uploading files

Is it possible to manually upload files to a deployment? I have a public GitHub repository that holds my (yaml) configuration file what I wish to not be public. Is there a way to manually upload the file onto railway without it being present in the repo?
Solution:
🤔 one possible way might be by uploading it to a volume, you can use Brody's filebrowser template for that, your script can then just fetch it from the volume
Jump to solution
5 Replies
Percy
Percy•9mo ago
Project ID: bdf52ca3-6199-4fdc-b415-bc60d97ba135
dan
dan•9mo ago
bdf52ca3-6199-4fdc-b415-bc60d97ba135
Solution
Fragly
Fragly•9mo ago
🤔 one possible way might be by uploading it to a volume, you can use Brody's filebrowser template for that, your script can then just fetch it from the volume
dan
dan•9mo ago
Hm, I see. Do you have a link to this?
Fragly
Fragly•9mo ago
Volume Documentation: https://docs.railway.app/reference/volumes Filebrowser Template: https://railway.app/template/Nan7Bs For the filebrowser template, you'd want to: 1. Deploy it inside of your project by right clicking and adding a Template from there 2. Set USE_VOLUME_ROOT to 1 when deploying To use it, delete the volume it comes with, attach the volume of your service this will let you alter the files in the volume once you go to the templates site once you're done, reconnect it to your main service
Want results from more Discord servers?
Add your server