What is the disk policy ?

I am deploying my NextJS app on railway. I am using the free tier, it says 1GB of disk. So will I be able to write file to the disk from my code ? I couldn't find any relevant documentation.
18 Replies
Percy
Percy2y ago
Project ID: fc77a821-b362-422a-9150-b98ad0ea4f71
tsensei
tsenseiOP2y ago
fc77a821-b362-422a-9150-b98ad0ea4f71
Brody
Brody2y ago
yes you can write to disk, but keep in mind that railway doesn't have persistent storage, so anything you write will be removed during the next deployment
tsensei
tsenseiOP2y ago
@Brody Thanks, I will only need the files for a short amount of time.
Brody
Brody2y ago
then there's no issues with that at all
tsensei
tsenseiOP2y ago
@Brody Thank you very much. By the way, another serious issue I was having, I reached out to support through discord and mail multiple times but found no solution. I want to sign up for usage-based subscription with my mastercard. Now in the card info submission form, whenever it detects mastercard, it requires a ZIP code. Now, for your knowledge, I am from bangladesh, here we have only 4 digit zip code, but the input in railway requires 5 digit ones. I have been informed that it's stripe who does all the handling, not you. But on several occasion I have paid with stripe and didn't have any issue at all. This gets even weirder. Now, I work on freelance project, I have been using railway for demoing my projects and also deploying, so I have invited quite some of my clients to use railway for deployment. I am loving the simplicity here and the amout of control I have with minimum effort. So, Lets say my ZIP code is 1360. I tried writing 01360, when I did, it says declined. But surprisingly railway put a hold of $1 on my mastercard, my hopes went up. The money was soon refunded but I wasn't upgraded to developer pack, and now card was added to my railway account. This is frustrating me as I can't work with 500 hours. I am using railway for all my projects now. It has gotten long, but please It'd be great help for my if you could tell me any way to solve.
Brody
Brody2y ago
okay I understand your concern, I will tag the team in
tsensei
tsenseiOP2y ago
Much appreciated. Loving the service so far!
Brody
Brody2y ago
there's a chance the team might want you to be on the teams plan, but I'll let them tell you that if they think it's necessary
Percy
Percy2y ago
Flagging this thread. A team member will be with you shortly.
Brody
Brody2y ago
@Angelo - credit card failing to upgrade to dev plan
tsensei
tsenseiOP2y ago
Sure, also I wanted to know if there is some place to request features ? As you should know, ML and AI projects are on trend now. So for context window and many other cases, vector databases are getting the next big database paradigm with Pinecone leading now. I wanted to know if there is any chance you people would find it possible to include hosted Weaviate/Chrome etc vector databases as a railway database service ? With the level of control and simplicity you offer, I am sure many people would like to use it.
Brody
Brody2y ago
from my understanding the only thing holding users back from hosting a vector database on railway is the lack of persistent storage, correct?
tsensei
tsenseiOP2y ago
yes, but apart from hosting a database myself, I find it easier to work with the redis/postgres services offered by railway. So Is there a possibility that we might be getting vector database as service on railway ?
Brody
Brody2y ago
not anytime soon, while vector is popular, its not nearly in use as much as the current lineup of databases railway provides, so when railway has storage volumes and internal networking, hosting your own vector database will be plenty easy
tsensei
tsenseiOP2y ago
I understand, thank you.
Brody
Brody2y ago
no worries a team member will be with you when they have the chance
tsensei
tsenseiOP2y ago
thank you
Want results from more Discord servers?
Add your server