R
Railway14mo ago
Hys

File question

Is there any way for files generated by the app to persist? We currently have an app where the authentication is stored is generated by user and stored in a file, but when it redeploys after a commit is done the auth of all the users get lost No, i can't use an external database for this so that's why i'm wondering that
17 Replies
Percy
Percy14mo ago
Project ID: N/A
Hys
Hys14mo ago
N/A
Brody
Brody14mo ago
railway does not currently have persistent storage, you will want to use bucket storage, a database plugin, or a 3rd party auth provider
Hys
Hys14mo ago
ok then, i will use an external database thank u brody 😗
Brody
Brody14mo ago
please do, much better idea than storing users to a file on disk
luna
luna14mo ago
can recommend https://uploadthing.com/ or s3 if you're looking to store files
eirk
eirk14mo ago
sussy
luna
luna14mo ago
then store the url they give back in a db for the user.
Brody
Brody14mo ago
what is
eirk
eirk14mo ago
this is theo t3.gg
Brody
Brody14mo ago
explain yourself
eirk
eirk14mo ago
nvm not susy
Hys
Hys14mo ago
spongesmirk
eirk
eirk14mo ago
where is pricing though no way its free unless theyre selling the file contents
Hys
Hys14mo ago
off topic
luna
luna14mo ago
its free right now, they only have small plans. you can also self host on another vps
Brody
Brody14mo ago
the original question was solved, this is our thread now bucko